File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 3333 tags : ghcr.io/${{ github.repository }}:latest-amd64
3434 file : Dockerfile
3535
36+ push-arm64 :
37+ name : Image push/arm64
38+ runs-on : ubuntu-latest
39+ steps :
40+ - name : Check out code into the Go module directory
41+ uses : actions/checkout@v2
42+
43+ - name : Set up Docker Buildx
44+ uses : docker/setup-buildx-action@v1
45+
46+ - name : Login to Container Registry
47+ if : github.repository_owner == 'k8snetworkplumbingwg'
48+ uses : docker/login-action@v1
49+ with :
50+ registry : ghcr.io
51+ username : ${{ github.repository_owner }}
52+ password : ${{ secrets.GITHUB_TOKEN }}
53+
54+ - name : Push container image
55+ if : github.repository_owner == 'k8snetworkplumbingwg'
56+ uses : docker/build-push-action@v2
57+ with :
58+ context : .
59+ push : true
60+ tags : ghcr.io/${{ github.repository }}:latest-arm64
61+ file : Dockerfile.arm64
62+
3663 push-origin :
3764 name : Image push/origin
3865 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments