From b9fab4394367c0269bb06dc152ed91f79e760725 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Tue, 17 Dec 2024 14:46:40 +0100 Subject: [PATCH] TEMP: build the docker image in the PR --- .github/workflows/docker.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b439cb0915..8ed910096b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -4,8 +4,9 @@ name: Build docker images on: push: - tags: ["v*"] - branches: [ master, main, develop ] + # TEMP + # tags: ["v*"] + # branches: [ master, main, develop ] workflow_dispatch: permissions: @@ -44,12 +45,16 @@ jobs: - name: Log in to DockerHub uses: docker/login-action@v3 + # TEMP + if: ${{ false }} with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Log in to GHCR uses: docker/login-action@v3 + # TEMP + if: ${{ false }} with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -74,7 +79,8 @@ jobs: id: build-and-push uses: docker/build-push-action@v6 with: - push: true + # TEMP + push: false labels: | gitsha1=${{ github.sha }} org.opencontainers.image.version=${{ env.SYNAPSE_VERSION }} @@ -88,6 +94,8 @@ jobs: CARGO_NET_GIT_FETCH_WITH_CLI=true - name: Sign the images with GitHub OIDC Token + # TEMP + if: ${{ false }} env: DIGEST: ${{ steps.build-and-push.outputs.digest }} TAGS: ${{ steps.set-tag.outputs.tags }}