From 061e0b05b4bdb60c2dab5ede7b4042d05acb7942 Mon Sep 17 00:00:00 2001 From: Guillaume Lapierre Date: Tue, 26 Mar 2024 08:10:38 +0100 Subject: [PATCH] fix build-and-push ? --- .gitea/workflows/build.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 884a82c..988fe33 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -15,13 +15,18 @@ jobs: uses: actions/checkout@v3 - name: Set up docker buildx uses: docker/setup-buildx-action@v3 - - name: Login to Docker Hub for ${{ secrets.DOCKERHUB_USERNAME }} + with: + driver-opts: | + network=giteanet + - name: Login to Docker Hub uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and do not push + - name: Build and (do not) push uses: docker/build-push-action@v5 + env: + ACTIONS_RUNTIME_TOKEN: '' with: push: false tags: zeguigui/open-report-analyzer:latest \ No newline at end of file