Update .gitea/workflows/dockerbuild.yml
Some checks failed
Build and Push Docker Image / build (push) Failing after 15s
Some checks failed
Build and Push Docker Image / build (push) Failing after 15s
sudo
This commit is contained in:
@@ -24,10 +24,10 @@ jobs:
|
||||
SHORT_HASH: ${{ github.sha }}
|
||||
run: |
|
||||
# Build the image with the commit hash tag
|
||||
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} .
|
||||
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} .
|
||||
|
||||
# Tag the same image as "latest"
|
||||
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
|
||||
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
|
||||
|
||||
- name: Push Docker Images
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user