Skip to content

Commit

Permalink
single-arch docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
justinh-rahb committed Oct 2, 2023
1 parent eaaf6fb commit ce6d776
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,12 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

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

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# Use the Git reference (branch or tag) as the Docker tag.
tags: |
type=ref,event=tag
type=semver,pattern={{version}}
Expand All @@ -45,6 +43,5 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit ce6d776

Please sign in to comment.