Skip to content

Commit

Permalink
#247 tag as :latest-arm
Browse files Browse the repository at this point in the history
  • Loading branch information
bnfinet committed Apr 16, 2020
1 parent 9dfe4a4 commit acedce5
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,22 @@ jobs:
Publish-to-docker:
runs-on: ubuntu-latest
env:
DOCKER_TAG: latest-multi
DOCKER_TAG: latest-arm
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
-
name: Set up Docker Buildx
- name: Set up Docker Buildx
id: buildx
uses: crazy-max/ghaction-docker-buildx@v1
with:
version: latest
-
name: List available platforms
- name: List available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
-
name: Docker login (set DOCKER_USERNAME and DOCKER_PASSWORD in secrets)
if: ${{ success() && startsWith(github.repository, 'vouch/')}} # Remove this line, if you want everybody to publish to docker hub
run:
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
-
name: Publish to docker as voucher/vouch-proxy
if: ${{ success() && startsWith(github.repository, 'vouch/')}}
- name: Docker login (set DOCKER_USERNAME and DOCKER_PASSWORD in secrets)
if: ${{ success() && startsWith(github.repository, 'vouch/')}} # Remove this line, if you want everybody to publish to docker hub
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Publish to docker as voucher/vouch-proxy
if: ${{ success() && startsWith(github.repository, 'vouch/')}}
run: |
docker buildx build \
--platform linux/arm/v7,linux/arm64 \
Expand All @@ -46,4 +40,4 @@ jobs:
# --platform linux/amd64,linux/arm/v7,linux/arm64 \
# --push \
# -t $GITHUB_REPOSITORY:latest \
# .
# .

0 comments on commit acedce5

Please sign in to comment.