File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 55 name : build dev image
66 permissions :
77 packages : write
8- runs-on : ubuntu-latest
8+ runs-on : [ ubuntu-latest, ubuntu-latest-arm64]
99 steps :
1010 - name : checkout
1111 uses : actions/checkout@v4
@@ -21,10 +21,11 @@ jobs:
2121 uses : docker/build-push-action@v6
2222 with :
2323 push : true
24+ platforms : ${{ runner.os }}/${{ runner.arch }}
2425 build-args : |
25- VERSION=dev
26+ VERSION=dev-${{ runner.os }}-${{ runner.arch }}
2627 tags : |
27- ghcr.io/vladopajic/go-test-coverage:dev
28+ ghcr.io/vladopajic/go-test-coverage:dev-${{ runner.os }}-${{ runner.arch }}
2829
2930 - uses : actions/delete-package-versions@v5
3031 with :
5253
5354 - name : set action image version to dev
5455 run : |
55- yq e -i '.runs.image = "docker://ghcr.io/vladopajic/go-test-coverage:dev"' action.yml
56+ yq e -i '.runs.image = "docker://ghcr.io/vladopajic/go-test-coverage:dev-${{ runner.os }}-${{ runner.arch }} "' action.yml
5657 image=$(yq '.runs.image' action.yml)
5758 echo "Image: $image"
5859
You can’t perform that action at this time.
0 commit comments