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:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
# -
|
|
||||||
# name: Checkout code
|
|
||||||
# uses: actions/checkout@v4
|
|
||||||
|
|
||||||
-
|
-
|
||||||
name: Login to GitHub Container Registry
|
name: Checkout code
|
||||||
uses: docker/login-action@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
|
||||||
registry: git.k4li.de
|
- name: Login to Forgejo Container Registry
|
||||||
username: ${{ vars.FORGEJO_USERNAME }}
|
run: |
|
||||||
password: ${{ secrets.FORGEJO_PASSWORD }}
|
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
|
# name: Checkout
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue