File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
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, ubuntu-latest-arm64]
8+ runs-on : ubuntu-latest
99 steps :
1010 - name : checkout
1111 uses : actions/checkout@v4
@@ -21,11 +21,11 @@ jobs:
2121 uses : docker/build-push-action@v6
2222 with :
2323 push : true
24- platforms : ${{ runner.os }}/${{ runner.arch }}
24+ platforms : linux/amd64,linux/arm/v8,linux/arm64
2525 build-args : |
26- VERSION=dev-${{ runner.os }}-${{ runner.arch }}
26+ VERSION=dev
2727 tags : |
28- ghcr.io/vladopajic/go-test-coverage:dev-${{ runner.os }}-${{ runner.arch }}
28+ ghcr.io/vladopajic/go-test-coverage:dev
2929
3030 - uses : actions/delete-package-versions@v5
3131 with :
3636 delete-only-untagged-versions : true
3737 test :
3838 name : test
39- runs-on : ubuntu-latest
39+ runs-on : [ ubuntu-latest, ubuntu-latest-arm64]
4040 needs : build-dev-image
4141
4242 steps :
5353
5454 - name : set action image version to dev
5555 run : |
56- yq e -i '.runs.image = "docker://ghcr.io/vladopajic/go-test-coverage:dev-${{ runner.os }}-${{ runner.arch }} "' action.yml
56+ yq e -i '.runs.image = "docker://ghcr.io/vladopajic/go-test-coverage:dev"' action.yml
5757 image=$(yq '.runs.image' action.yml)
5858 echo "Image: $image"
5959
You can’t perform that action at this time.
0 commit comments