File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 4141 push : ${{ github.ref_type == 'tag' }}
4242 tags : ${{ steps.meta.outputs.tags }}
4343 labels : ${{ steps.meta.outputs.labels }}
44+
45+ docker-arm :
46+ runs-on : buildjet-4vcpu-ubuntu-2204-arm
47+
48+ steps :
49+ - name : Checkout
50+ uses : actions/checkout@v3
51+ - name : Set up Docker Buildx
52+ uses : docker/setup-buildx-action@v2
53+
54+ - name : Docker meta
55+ id : meta
56+ uses : docker/metadata-action@v4
57+ with :
58+ images : ${{ secrets.DOCKER_IMAGE }}
59+ flavor : latest=false
60+ tags : |
61+ type=raw,value=arm
62+
63+ - name : Login to image repository
64+ if : github.ref_type == 'tag'
65+ uses : docker/login-action@v2
66+ with :
67+ username : ${{ secrets.DOCKER_USER }}
68+ password : ${{ secrets.DOCKER_TOKEN }}
69+
70+ - name : Build and push
71+ uses : docker/build-push-action@v4
72+ with :
73+ context : .
74+ file : Dockerfile
75+ platforms : ' linux/arm64'
76+ push : ${{ github.ref_type == 'tag' }}
77+ tags : ${{ steps.meta.outputs.tags }}
78+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments