File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 13
13
14
14
jobs :
15
15
frontend :
16
+ if : github.event_name != 'push'
16
17
runs-on : ubuntu-22.04
17
18
permissions :
18
19
contents : read
47
48
48
49
test :
49
50
runs-on : ubuntu-22.04
51
+ if : github.event_name != 'push'
50
52
steps :
51
53
- name : Clone repository
52
54
uses : actions/checkout@v4
90
92
working-directory : api
91
93
92
94
docker-images :
93
- if : github.event_name == 'merge_group' || github.ref == 'refs/heads/main '
95
+ if : github.event_name == 'merge_group' || github.event_name == 'push '
94
96
runs-on : ubuntu-22.04
95
97
permissions :
96
98
contents : read
@@ -155,7 +157,7 @@ jobs:
155
157
run : echo "image_id=${{ env.FRONTEND_IMAGE_ID_BASE }}@${{ steps.frontend_push.outputs.imageid }}" >> $GITHUB_OUTPUT
156
158
157
159
staging :
158
- if : github.event_name == 'merge_group' || github.ref == 'refs/heads/main'
160
+ if : github.event_name == 'merge_group'
159
161
runs-on : ubuntu-22.04
160
162
needs : docker-images
161
163
environment :
@@ -204,7 +206,7 @@ jobs:
204
206
run : deno task tf:staging:apply
205
207
206
208
prod :
207
- if : github.ref == 'refs/heads/main'
209
+ if : github.event_name == 'push' || github. ref == 'refs/heads/main'
208
210
runs-on : ubuntu-22.04
209
211
needs : docker-images
210
212
environment :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ resource "google_artifact_registry_repository" "registry" {
4
4
repository_id = " registry"
5
5
format = " DOCKER"
6
6
docker_config {
7
- immutable_tags = true
7
+ immutable_tags = false
8
8
}
9
9
}
10
10
You can’t perform that action at this time.
0 commit comments