Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
f18f4c69
Unverified
Commit
f18f4c69
authored
Jul 23, 2020
by
Pedro Lamas
Browse files
Adds Docker multi-arch build support
parent
41435578
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/dockerhub.yml
View file @
f18f4c69
...
@@ -8,9 +8,19 @@ jobs:
...
@@ -8,9 +8,19 @@ jobs:
build
:
build
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
name
:
trigger
-
name
:
checkout code
run
:
curl -X POST https://hub.docker.com/api/build/v1/source/1813a660-2ee5-4583-a238-dd54e9a6ebac/trigger/c8cd9f1f-f269-45bc-9750-a08327257f62/call/
uses
:
actions/checkout@v2
-
name
:
install buildx
id
:
buildx
uses
:
crazy-max/ghaction-docker-buildx@v1
with
:
version
:
latest
-
name
:
login to docker hub
run
:
|
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
-
name
:
build the image
run
:
|
docker buildx build \
--push \
--tag neilpang/acme.sh:latest \
--platform linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7,linux/386 .
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment