File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 types : [ opened, reopened, synchronize ]
99 workflow_call :
1010 inputs :
11+ platforms :
12+ description : ' Platforms to build for'
13+ required : false
14+ type : string
1115 latest :
1216 description : ' Tag image as latest'
1317 required : false
@@ -137,19 +141,11 @@ jobs:
137141 push : ${{ inputs.latest || inputs.rc || (github.ref_protected && github.event_name != 'pull_request') }}
138142 tags : ${{ steps.meta.outputs.tags }}
139143 labels : ${{ steps.meta.outputs.labels }}
140- platforms : ' linux/amd64,linux/arm64 '
144+ platforms : ${{ inputs.platforms || 'linux/amd64' }}
141145 cache-from : |
142146 type=gha
143147 cache-to : |
144148 type=gha
145-
146- - name : Upload OpenShock Desktop Web Linux artifacts
147- uses : actions/upload-artifact@v4
148- with :
149- name : OpenShock Desktop Web Linux
150- path : publish/Web-Linux/*
151- retention-days : 7
152- if-no-files-found : error
153149
154150 build-linux-photino :
155151 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 4848 needs : [get-latest-tag, get-latest-rc-tag]
4949 uses : ./.github/workflows/ci-build.yml
5050 with :
51+ platforms : linux/amd64,linux/arm64
5152 latest : ${{ needs.get-latest-tag.outputs.latest-tag == github.ref_name }}
5253 rc : ${{ needs.get-latest-rc-tag.outputs.latest-rc == github.ref_name }}
You can’t perform that action at this time.
0 commit comments