Skip to content

Commit 24aeeb6

Browse files
authored
Merge pull request #109 from Chia-Network/push-setting
Add push field to all other docker build jobs
2 parents 46a8b47 + 7de786f commit 24aeeb6

13 files changed

+13
-1
lines changed

.github/workflows/build-alpine.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
dockerfile: "./alpine/Dockerfile"
3131
dockerhub_imagename: "chianetwork/alpine-builder"
3232
image_subpath: "alpine-builder"
33+
push: ${{ github.event_name != 'pull_request' }}
3334
secrets:
3435
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
3536
DOCKERHUB_PAT: ${{ secrets.DOCKERHUB_PAT }}

.github/workflows/build-aptly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
dockerfile: "./aptly/Dockerfile"
3030
dockerhub_imagename: "chianetwork/aptly"
3131
image_subpath: "aptly"
32+
push: ${{ github.event_name != 'pull_request' }}
3233
secrets:
3334
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
3435
DOCKERHUB_PAT: ${{ secrets.DOCKERHUB_PAT }}

.github/workflows/build-centos7.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
dockerhub_imagename: "chianetwork/centos7-builder"
3232
docker-platforms: linux/amd64
3333
image_subpath: "centos7-builder"
34+
push: ${{ github.event_name != 'pull_request' }}
3435
secrets:
3536
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
3637
DOCKERHUB_PAT: ${{ secrets.DOCKERHUB_PAT }}

.github/workflows/build-db-webroot-backup.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ jobs:
2828
docker-context: "./db-webroot-backup"
2929
dockerfile: "./db-webroot-backup/Dockerfile"
3030
image_subpath: "db-webroot-backup"
31+
push: ${{ github.event_name != 'pull_request' }}

.github/workflows/build-ips.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ jobs:
2828
docker-context: "./ips"
2929
dockerfile: "./ips/Dockerfile"
3030
image_subpath: "ips"
31+
push: ${{ github.event_name != 'pull_request' }}

.github/workflows/build-nginx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,5 @@ jobs:
7373
context: nginx
7474
file: nginx/Dockerfile
7575
platforms: "linux/amd64,linux/arm64"
76-
push: true
76+
push: ${{ github.event_name != 'pull_request' }}
7777
tags: ${{ steps.meta.outputs.tags }}

.github/workflows/build-phpfpm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ jobs:
2929
docker-context: "./phpfpm"
3030
dockerfile: "./phpfpm/Dockerfile"
3131
image_subpath: "phpfpm"
32+
push: ${{ github.event_name != 'pull_request' }}

.github/workflows/build-rocky8.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
dockerfile: "./rocky8/Dockerfile"
3030
dockerhub_imagename: "chianetwork/rocky8-builder"
3131
image_subpath: "rocky8-builder"
32+
push: ${{ github.event_name != 'pull_request' }}
3233
secrets:
3334
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
3435
DOCKERHUB_PAT: ${{ secrets.DOCKERHUB_PAT }}

.github/workflows/build-ubuntu-18.04.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
dockerfile: "./ubuntu-18.04/Dockerfile"
3030
dockerhub_imagename: "chianetwork/ubuntu-18.04-builder"
3131
image_subpath: "ubuntu-18.04-builder"
32+
push: ${{ github.event_name != 'pull_request' }}
3233
secrets:
3334
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
3435
DOCKERHUB_PAT: ${{ secrets.DOCKERHUB_PAT }}

.github/workflows/build-ubuntu-20.04.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
dockerfile: "./ubuntu-20.04/Dockerfile"
3131
dockerhub_imagename: "chianetwork/ubuntu-20.04-builder"
3232
image_subpath: "ubuntu-20.04-builder"
33+
push: ${{ github.event_name != 'pull_request' }}
3334
secrets:
3435
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
3536
DOCKERHUB_PAT: ${{ secrets.DOCKERHUB_PAT }}

0 commit comments

Comments
 (0)