From 66956ffc59aa434e6a618a94e637e0c72a34af4e Mon Sep 17 00:00:00 2001 From: Lukas Greve Date: Thu, 13 Nov 2025 12:14:55 +0000 Subject: [PATCH] Update .gitea/workflows/dockerbuild.yml --- .gitea/workflows/dockerbuild.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/dockerbuild.yml b/.gitea/workflows/dockerbuild.yml index 0109bdb..175f8e5 100644 --- a/.gitea/workflows/dockerbuild.yml +++ b/.gitea/workflows/dockerbuild.yml @@ -24,18 +24,18 @@ jobs: SHORT_HASH: ${{ github.sha }} run: | # Build the image with the commit hash tag - sudo docker build --build-arg BUILD_IDENTIFIER=${SHORT_HASH:0:5} -t https://git.phyllo.me/devops/fedora-runner-image:${BRANCH_NAME}-${SHORT_HASH:0:5} . + docker build --build-arg BUILD_IDENTIFIER=${SHORT_HASH:0:5} -t git.phyllo.me/devops/fedora-runner-image:${BRANCH_NAME}-${SHORT_HASH:0:5} . # Tag the same image as "latest" - sudo docker tag https://git.phyllo.me/devops/fedora-runner-image:${BRANCH_NAME}-${SHORT_HASH:0:5} https://git.phyllo.me/devops/fedora-runner-image:${BRANCH_NAME}-latest + docker tag git.phyllo.me/devops/fedora-runner-image:${BRANCH_NAME}-${SHORT_HASH:0:5} git.phyllo.me/devops/fedora-runner-image:${BRANCH_NAME}-latest - name: Push Docker Images env: BRANCH_NAME: ${{ github.ref_name }} SHORT_HASH: ${{ github.sha }} run: | - docker push https://git.phyllo.me/devops/fedora-runner-image:${BRANCH_NAME}-${SHORT_HASH:0:5} - docker push https://git.phyllo.me/devops/fedora-runner-image:${BRANCH_NAME}-latest + docker push git.phyllo.me/devops/fedora-runner-image:${BRANCH_NAME}-${SHORT_HASH:0:5} + docker push git.phyllo.me/devops/fedora-runner-image:${BRANCH_NAME}-latest - name: Log out from registry if: always()