fix variable use

This commit is contained in:
boxi committed 2026-01-01 22:28:51 +01:00
1 parent 1558e213d2
commit 23377b2ccb
1 file changed
+4 -6
+4 -6
View File
@@ -21,21 +21,19 @@ jobs:
- name: Build Docker Image
env:
REGESTRY: eiche:3000
IMAGE: ${{ GITHUB_REPOSITORY }}
run: |
# Build the image with the commit hash tag
docker build -t ${REGISTRY}/${IMAGE}:${GITHUB_RUN_NUMBER} .
docker build -t ${REGISTRY}/${{ gitea.repository }}:${GITHUB_RUN_NUMBER} .
# Tag the same image as "latest"
docker tag ${REGISTRY}/${IMAGE}:${GITHUB_RUN_NUMBER} ${REGISTRY}/${IMAGE}:latest
docker tag ${REGISTRY}/${{ gitea.repository }}:${GITHUB_RUN_NUMBER} ${REGISTRY}/${{ gitea.repository }}:latest
- name: Push Docker Images
env:
REGESTRY: eiche:3000
IMAGE: ${{ GITHUB_REPOSITORY }}
run: |
docker push ${REGISTRY}/${IMAGE}:${GITHUB_RUN_NUMBER}
docker push ${REGISTRY}/${IMAGE}:latest
docker push ${REGISTRY}/${{ gitea.repository }}:${GITHUB_RUN_NUMBER}
docker push ${REGISTRY}/${{ gitea.repository }}:latest
- name: Log out from registry
if: always()
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.