testing other approaches
Some checks failed
Build and Push to Forgejo Registry / build (push) Failing after 6s
Some checks failed
Build and Push to Forgejo Registry / build (push) Failing after 6s
This commit is contained in:
parent
58ca66c5d5
commit
a1080cce0c
1 changed files with 12 additions and 10 deletions
|
@ -10,17 +10,19 @@ jobs:
|
|||
build:
|
||||
runs-on: docker
|
||||
steps:
|
||||
# -
|
||||
# name: Checkout code
|
||||
# uses: actions/checkout@v4
|
||||
|
||||
-
|
||||
name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.k4li.de
|
||||
username: ${{ vars.FORGEJO_USERNAME }}
|
||||
password: ${{ secrets.FORGEJO_PASSWORD }}
|
||||
name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Login to Forgejo Container Registry
|
||||
run: |
|
||||
echo "${{ secrets.FORGEJO_PASSWORD }}" | docker login git.k4li.de \
|
||||
-u "${{ vars.FORGEJO_USERNAME }}" \
|
||||
--password-stdin
|
||||
|
||||
- name: Running buildscript
|
||||
run: |
|
||||
./build.sh || echo "Error building docker image via script!"
|
||||
|
||||
# -
|
||||
# name: Checkout
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue