File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,25 +26,20 @@ jobs:
2626 username : ${{ github.actor }}
2727 password : ${{ secrets.GITHUB_TOKEN }}
2828
29+ - name : Set up QEMU
30+ uses : docker/setup-qemu-action@v3
31+
2932 - name : Set up Docker Buildx
3033 uses : docker/setup-buildx-action@v3
3134
32- - name : Extract metadata
33- id : meta
34- uses : docker/metadata-action@v5
35- with :
36- images : ghcr.io/${{ github.repository_owner }}/devcontainer
37- tags : |
38- type=raw,value=latest
39- type=sha,prefix=
40-
4135 - name : Build and push
4236 uses : docker/build-push-action@v6
4337 with :
4438 context : ./image
4539 platforms : linux/amd64,linux/arm64
4640 push : true
47- tags : ${{ steps.meta.outputs.tags }}
48- labels : ${{ steps.meta.outputs.labels }}
41+ tags : |
42+ ghcr.io/${{ github.repository_owner }}/devcontainer:latest
43+ ghcr.io/${{ github.repository_owner }}/devcontainer:${{ github.sha }}
4944 cache-from : type=gha
5045 cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments