Skip to content

Commit 8c7dc2b

Browse files
committed
workflow and makeile added for multi arch support
1 parent 232ce35 commit 8c7dc2b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/docker-buildx.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,19 @@ jobs:
2626
run: echo ${{ steps.buildx.outputs.platforms }}
2727
-
2828
name: docker login
29-
env:
29+
env:
3030
DOCKER_USER: ${{secrets.DOCKER_USER}}
3131
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
32-
run: |
32+
run: |
3333
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
3434
-
3535
name: Run Buildx
3636
run: |
3737
docker buildx build \
3838
--platform linux/amd64,linux/arm64 \
3939
--output "type=image,push=true" \
40-
--file ./Dockerfile .
40+
--file ./Dockerfile \
41+
--tag nicolak/netshoot:test .
4142
4243
4344

0 commit comments

Comments
 (0)