Moved login action before the update checker, seems it needs to log in already at that point.
This commit is contained in:
@@ -14,13 +14,6 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check if update available
|
||||
id: check
|
||||
uses: lucacome/docker-image-update-checker@v1
|
||||
with:
|
||||
base-image: node:20-alpine
|
||||
image: gitea.crovaxon.de/crovaxon/foundryvtt-docker:latest
|
||||
|
||||
- name: Login to Gitea
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
@@ -29,6 +22,13 @@ jobs:
|
||||
password: ${{ secrets.REGISTRY_PASS }}
|
||||
if: steps.check.outputs.needs-updating == 'true'
|
||||
|
||||
- name: Check if update available
|
||||
id: check
|
||||
uses: lucacome/docker-image-update-checker@v1
|
||||
with:
|
||||
base-image: node:20-alpine
|
||||
image: gitea.crovaxon.de/crovaxon/foundryvtt-docker:latest
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user