From 8865c48bb762552f1bbae876f37f3da929c518d0 Mon Sep 17 00:00:00 2001 From: Nicolas Caron Date: Fri, 8 Mar 2024 09:39:38 +0100 Subject: [PATCH] test workflow build and push on gitea registry --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d10d534..3436668 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,11 +45,13 @@ jobs: - name: Set up QEMU 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 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 # id: get_tags @@ -65,8 +67,8 @@ jobs: - name: Build and push Docker image 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: context: "{{defaultContext}}" push: true tags: "git.coopgo.io/coopgo-platform/mobility-accounts:test" + mount-docker-socket: true \ No newline at end of file