File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -43,44 +43,10 @@ jobs:
4343 run : |
4444 npm install
4545 npx semantic-release
46- docker-image-delivery :
47- needs :
48- - release
49- runs-on : ubuntu-latest
50- if : needs.release.outputs.release-status == 'released'
51- env :
52- REGISTRY : ghcr.io
53- IMAGE_NAME : ${{ github.repository }}
54- steps :
55- - name : Checkout the repository
56- uses : actions/checkout@v3
57- with :
58- submodules : recursive
59- fetch-depth : 0
60- - name : Login to GitHub Container registry
61- uses : docker/login-action@v2.1.0
62- with :
63- registry : ${{ env.REGISTRY }}
64- username : ${{ github.actor }}
65- password : ${{ secrets.GITHUB_TOKEN }}
66- - id : full-image-name
67- run : echo "image-name=${{env.REGISTRY}}/${{env.IMAGE_NAME}}" | tr '[:upper:]' '[:lower:]' >> $GITHUB_OUTPUT
68- - name : Set up QEMU
69- uses : docker/setup-qemu-action@v2
70- - name : Set up docker buildx
71- uses : docker/setup-buildx-action@v2
72- - name : Build and push the image to GitHub Container registry
73- uses : docker/build-push-action@v4.0.0
74- with :
75- context : .
76- push : true
77- platforms : linux/arm/v7
78- tags : ${{ steps.full-image-name.outputs.image-name }}:latest, ${{ steps.full-image-name.outputs.image-name }}:${{ needs.release.outputs.release-version }}
7946 success :
8047 runs-on : ubuntu-22.04
8148 needs :
8249 - release
83- - docker-image-delivery
8450 if : >-
8551 always() && (
8652 contains(join(needs.*.result, ','), 'failure')
You can’t perform that action at this time.
0 commit comments