File tree Expand file tree Collapse file tree 1 file changed +36
-1
lines changed Expand file tree Collapse file tree 1 file changed +36
-1
lines changed Original file line number Diff line number Diff line change 11
11
IMAGE_NAME : ${{ github.repository }}
12
12
13
13
jobs :
14
- docker :
14
+ docker-amd64 :
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- name : Checkout
46
46
push : true
47
47
tags : ${{ steps.meta.outputs.tags }}
48
48
labels : ${{ steps.meta.outputs.labels }}
49
+ docker-arm64 :
50
+ runs-on : ubuntu-latest
51
+ steps :
52
+ - name : Checkout
53
+ uses : actions/checkout@v4
54
+ with :
55
+ submodules : recursive
56
+ - name : Set up QEMU
57
+ uses : docker/setup-qemu-action@v3
58
+ - name : Extract version and branch metadata
59
+ id : meta
60
+ uses : docker/metadata-action@v5
61
+ with :
62
+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
63
+ tags : |
64
+ type=ref,event=tag
65
+ type=raw,value=devcontainer
66
+ type=sha
67
+ - name : Set up Docker Buildx
68
+ uses : docker/setup-buildx-action@v3
69
+ - name : Login to GHCR
70
+ uses : docker/login-action@v3
71
+ with :
72
+ registry : ${{ env.REGISTRY }}
73
+ username : ${{ github.repository_owner }}
74
+ password : ${{ secrets.GITHUB_TOKEN }}
75
+ - name : Build and push
76
+ uses : docker/build-push-action@v5
77
+ with :
78
+ context : .
79
+ file : ./.devcontainer/Dockerfile
80
+ platforms : linux/arm64
81
+ push : true
82
+ tags : ${{ steps.meta.outputs.tags }}
83
+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments