File tree Expand file tree Collapse file tree 1 file changed +29
-5
lines changed
Expand file tree Collapse file tree 1 file changed +29
-5
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,37 @@ jobs:
3535 password : ${{ secrets.DOCKER_HUB_TOKEN }}
3636
3737 - name : Build and push
38- id : docker_build
38+ id : docker_build_amd
3939 uses : docker/build-push-action@v2
4040 with :
4141 context : .
4242 push : true
43- platforms : linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
44- tags : ${{ github.repository }}:${{ steps.get_version.outputs.version-without-v }}
43+ platforms : linux/amd64
44+ tags : ${{ github.repository }}:${{ steps.get_version.outputs.version-without-v }}-amd64
4545
46- - name : Image digest
47- run : echo ${{ steps.docker_build.outputs.digest }}
46+ - name : Build and push
47+ id : docker_build_arm_v6
48+ uses : docker/build-push-action@v2
49+ with :
50+ context : .
51+ push : true
52+ platforms : linux/arm/v6
53+ tags : ${{ github.repository }}:${{ steps.get_version.outputs.version-without-v }}-arm-v6
54+
55+ - name : Build and push
56+ id : docker_build_arm_v7
57+ uses : docker/build-push-action@v2
58+ with :
59+ context : .
60+ push : true
61+ platforms : linux/arm/v7
62+ tags : ${{ github.repository }}:${{ steps.get_version.outputs.version-without-v }}-arm-v7
63+
64+ - name : Build and push
65+ id : docker_build_arm64
66+ uses : docker/build-push-action@v2
67+ with :
68+ context : .
69+ push : true
70+ platforms : linux/arm64
71+ tags : ${{ github.repository }}:${{ steps.get_version.outputs.version-without-v }}-arm64
You can’t perform that action at this time.
0 commit comments