File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 18
18
jobs :
19
19
container-build :
20
20
name : Build ${{ inputs.container_name }} ${{ matrix.architecture }}
21
+ if : >
22
+ (github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'cicd:movement-containers')
23
+ || github.ref == 'refs/heads/main'
24
+ || startsWith(github.ref, 'refs/tags/')
21
25
strategy :
22
26
matrix :
23
27
architecture : [x86_64, arm64]
24
28
runs-on : ${{ matrix.architecture == 'x86_64' && 'buildjet-16vcpu-ubuntu-2204' || 'buildjet-16vcpu-ubuntu-2204-arm' }}
25
29
steps :
30
+
26
31
- name : Checkout repository
27
32
uses : actions/checkout@v4
28
33
with :
Original file line number Diff line number Diff line change 29
29
echo "${GITHUB_CONTEXT}"
30
30
31
31
build-push-checked-containers :
32
- if : >
33
- contains(github.event.pull_request.labels.*.name, 'cicd:movement-containers')
34
- || github.ref == 'refs/heads/main'
35
- || github.event.label.name == 'cicd:movement-containers'
36
- || startsWith(github.ref, 'refs/tags/')
32
+
37
33
38
34
uses : ./.github/workflows/build-push-container.yml
39
35
name : Build Push Checked Containers
You can’t perform that action at this time.
0 commit comments