Skip to content

Commit b9fab43

Browse files
committed
TEMP: build the docker image in the PR
1 parent 799bd77 commit b9fab43

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/docker.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ name: Build docker images
44

55
on:
66
push:
7-
tags: ["v*"]
8-
branches: [ master, main, develop ]
7+
# TEMP
8+
# tags: ["v*"]
9+
# branches: [ master, main, develop ]
910
workflow_dispatch:
1011

1112
permissions:
@@ -44,12 +45,16 @@ jobs:
4445
4546
- name: Log in to DockerHub
4647
uses: docker/login-action@v3
48+
# TEMP
49+
if: ${{ false }}
4750
with:
4851
username: ${{ secrets.DOCKERHUB_USERNAME }}
4952
password: ${{ secrets.DOCKERHUB_TOKEN }}
5053

5154
- name: Log in to GHCR
5255
uses: docker/login-action@v3
56+
# TEMP
57+
if: ${{ false }}
5358
with:
5459
registry: ghcr.io
5560
username: ${{ github.repository_owner }}
@@ -74,7 +79,8 @@ jobs:
7479
id: build-and-push
7580
uses: docker/build-push-action@v6
7681
with:
77-
push: true
82+
# TEMP
83+
push: false
7884
labels: |
7985
gitsha1=${{ github.sha }}
8086
org.opencontainers.image.version=${{ env.SYNAPSE_VERSION }}
@@ -88,6 +94,8 @@ jobs:
8894
CARGO_NET_GIT_FETCH_WITH_CLI=true
8995
9096
- name: Sign the images with GitHub OIDC Token
97+
# TEMP
98+
if: ${{ false }}
9199
env:
92100
DIGEST: ${{ steps.build-and-push.outputs.digest }}
93101
TAGS: ${{ steps.set-tag.outputs.tags }}

0 commit comments

Comments
 (0)