File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7676
7777 bin-image :
7878 runs-on : ubuntu-22.04
79+ outputs :
80+ tags : ${{ steps.meta.outputs.tags }}
7981 steps :
8082 -
8183 name : Checkout
@@ -107,6 +109,7 @@ jobs:
107109 -
108110 name : Build and push image
109111 uses : docker/bake-action@v2
112+ id : bake
110113 with :
111114 files : |
112115 ./docker-bake.hcl
@@ -118,3 +121,30 @@ jobs:
118121 *.cache-to=type=gha,scope=bin-image,mode=max
119122 *.attest=type=sbom
120123 *.attest=type=provenance,mode=max,builder-id=https://github.com/${{ env.GITHUB_REPOSITORY }}/actions/runs/${{ env.GITHUB_RUN_ID }}
124+
125+ desktop-edge-test :
126+ runs-on : ubuntu-latest
127+ needs : bin-image
128+ steps :
129+ -
130+ name : Generate Token
131+ id : generate_token
132+ uses : tibdex/github-app-token@v1
133+ with :
134+ app_id : ${{ variables.DOCKERDESKTOP_APPID }}
135+ private_key : ${{ secrets.DOCKERDESKTOP_APP_PRIVATEKEY }}
136+ -
137+ name : Trigger Docker Desktop e2e with edge version
138+ uses : actions/github-script@v6
139+ with :
140+ github-token : ${{ steps.generate_token.outputs.token }}
141+ script : |
142+ await github.rest.actions.createWorkflowDispatch({
143+ owner: 'docker',
144+ repo: 'pinata',
145+ workflow_id: 'compose-edge-integration.yml',
146+ ref: 'compose-edge-integration'
147+ inputs: {
148+ "image-tag": '${{ fromJSON(needs.bin-image.bake.outputs.metadata).image-cross["containerimage.digest"] }}'
149+ }
150+ })
You can’t perform that action at this time.
0 commit comments