File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,17 +14,21 @@ jobs:
1414 - context : debian-bullseye
1515 image : debian-bullseye
1616 steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+
1720 - name : Login to Docker Hub
1821 uses : docker/login-action@v3
1922 with :
23+ registry : ghcr.io
2024 username : ${{github.actor}}
21- password : ${{secrets.GNUS_TOKEN_1 }}
25+ password : ${{secrets.GITHUB_TOKEN }}
2226
2327 - name : Set up QEMU
2428 uses : docker/setup-qemu-action@v3
2529
2630 - name : Build and push
2731 run : |
28- IMAGE="docker build --platform linux/arm64,linux/amd64 -t ghcr.io/geniusventures/${{matrix.image}}:latest"
29- docker build -t "${IMAGE}" "${{matrix.context}}"
32+ IMAGE="ghcr.io/geniusventures/${{matrix.image}}:latest"
33+ docker build --platform linux/arm64,linux/amd64 - t "${IMAGE}" "${{matrix.context}}"
3034 docker push "${IMAGE}"
You can’t perform that action at this time.
0 commit comments