Skip to content

Commit

Permalink
bettered build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakousa committed Jun 3, 2020
1 parent 9c947ef commit 5ca107b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/exec_bash_exercise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ jobs:
id: buildx
uses: crazy-max/ghaction-docker-buildx@v2

- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}

- uses: azure/docker-login@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -47,6 +44,7 @@ jobs:
run: |
docker buildx create --use
docker buildx build \
--platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x \
--platform linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x \
--build-arg SECRET_MESSAGE=${{ secrets.FIRST_VOLUME_EXERCISE_SECRET_MESSAGE }}
--tag devopsdockeruh/exec_bash_exercise:multiarch \
--push ./exec_bash_exercise_and_first_volume_exercise
6 changes: 2 additions & 4 deletions .github/workflows/first_volume_exercise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ jobs:
id: buildx
uses: crazy-max/ghaction-docker-buildx@v2

- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}

- uses: azure/docker-login@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -47,6 +44,7 @@ jobs:
run: |
docker buildx create --use
docker buildx build \
--platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x \
--platform linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x \
--build-arg SECRET_MESSAGE=${{ secrets.FIRST_VOLUME_EXERCISE_SECRET_MESSAGE }}
--tag devopsdockeruh/first_volume_exercise:multiarch \
--push ./exec_bash_exercise_and_first_volume_exercise
5 changes: 1 addition & 4 deletions .github/workflows/ports_exercise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ jobs:
id: buildx
uses: crazy-max/ghaction-docker-buildx@v2

- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}

- uses: azure/docker-login@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -44,6 +41,6 @@ jobs:
run: |
docker buildx create --use
docker buildx build \
--platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x \
--platform linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x \
--tag devopsdockeruh/ports_exercise:multiarch \
--push ./ports_exercise

0 comments on commit 5ca107b

Please sign in to comment.