Skip to content

Commit 603fd7b

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

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
@@ -2,9 +2,9 @@ name: buildx
22

33
on:
44
pull_request:
5-
branches: test
5+
branches: master
66
push:
7-
branches: test
7+
branches: master
88
tags:
99

1010
jobs:
@@ -38,7 +38,8 @@ jobs:
3838
--platform linux/amd64,linux/arm64 \
3939
--output "type=image,push=true" \
4040
--file ./Dockerfile \
41-
--tag nicolak/netshoot:test .
41+
--tag ${{GITHUB_REPOSITORY}}:${{GITHUB_SHA}} \
42+
--tag ${{GITHUB_REPOSITORY}}:latest .
4243
4344
4445

0 commit comments

Comments
 (0)