Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenner committed Jun 3, 2024
1 parent 98a3f74 commit bdd766a
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

# needed to build multi-platform images
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Extract GIT metadata for Docker
id: meta
Expand All @@ -32,24 +38,16 @@ jobs:
flavor: |
latest=true
# needed to build multi-platform images
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Publish Image to GitHub Container Registry
- name: Build and Push to GitHub Container Registry
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
# support images for Intel processors
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit bdd766a

Please sign in to comment.