test workflow build and push on gitea registry
Build and Push Docker Image / build_and_push (push) Failing after 1m1s Details

This commit is contained in:
Nicolas CARON 2024-03-08 09:39:38 +01:00
parent 6c7d67911a
commit 8865c48bb7
1 changed files with 5 additions and 3 deletions

View File

@ -45,11 +45,13 @@ jobs:
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
options: '-e DOCKER_HOST=unix:///run/user/1000/docker.sock -v /var/run/user/1000/docker.sock:/run/user/1000/docker.sock' with:
mount-docker-socket: true
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v2
options: '-e DOCKER_HOST=unix:///run/user/1000/docker.sock -v /var/run/user/1000/docker.sock:/run/user/1000/docker.sock' with:
mount-docker-socket: true
# - name: Get Gitea Tags # - name: Get Gitea Tags
# id: get_tags # id: get_tags
@ -65,8 +67,8 @@ jobs:
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
options: '-e DOCKER_HOST=unix:///run/user/1000/docker.sock -v /var/run/user/1000/docker.sock:/run/user/1000/docker.sock'
with: with:
context: "{{defaultContext}}" context: "{{defaultContext}}"
push: true push: true
tags: "git.coopgo.io/coopgo-platform/mobility-accounts:test" tags: "git.coopgo.io/coopgo-platform/mobility-accounts:test"
mount-docker-socket: true