Skip to content

Commit

Permalink
Added publishing multi-platform Docker images [#138]
Browse files Browse the repository at this point in the history
  • Loading branch information
mcpierce committed Sep 15, 2023
1 parent 610abfc commit 6da58ac
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/publish-to-docker-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Publish to Docker Hub
uses: elgohr/Publish-Docker-Github-Action@master
- name: Setup QEMU
uses: docker/setup-qemu-action@v3

- name: Setup Docker buildx
uses: docker/setup-buildx-action@v3

- name: Log into Docker
uses: docker/login-action@v3
with:
name: comixed/comixed
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
workdir: ./docker
tags: "latest,1.5.0-1"

- name: Build and push images
uses: docker/build-push-action@v5
with:
context: ./docker
platforms: linux/amd64,linux/arm64
push: true
tags: latest,1.6-SNAPSHOT

0 comments on commit 6da58ac

Please sign in to comment.