Skip to content

Commit

Permalink
use full semantic version and support ARM for dockerhub (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
chuck-alt-delete authored Mar 3, 2023
1 parent b8780f5 commit 85f5d4d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/dockerhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v3

- name: Use QEMU for people who are into that
uses: docker/setup-qemu-action@v2
- name: Use buildx for multi-platform images
uses: docker/setup-buildx-action@v2

Expand All @@ -27,12 +29,13 @@ jobs:
with:
images: materialize/datagen
tags: |
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{version}}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 85f5d4d

Please sign in to comment.