We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5aea803 commit 6730c24Copy full SHA for 6730c24
.github/workflows/docker-base.yaml
@@ -8,6 +8,10 @@ on:
8
- scripts/Dockerfile.base
9
- scripts/Dockerfile
10
11
+ pull_request:
12
+ paths:
13
+ - scripts/Dockerfile.base
14
+
15
schedule:
16
# Run every week at 09:43 on Monday, Wednesday and Friday. We build this
17
# frequently to ensure that packages are up-to-date.
@@ -57,11 +61,12 @@ jobs:
57
61
platforms: linux/amd64,linux/arm64,linux/arm/v7
58
62
pull: true
59
63
no-cache: true
60
- push: true
64
+ push: github.event_name != 'pull_request'
65
tags: |
66
ghcr.io/coder/coder-base:latest
67
68
- name: Verify that images are pushed properly
69
+ if: github.event_name != 'pull_request'
70
run: |
71
# retry 10 times with a 5 second delay as the images may not be
72
# available immediately
0 commit comments