Skip to content

Commit

Permalink
chore: Update Docker build and publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
H1D committed Jul 9, 2024
1 parent e500eb0 commit d6f5567
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/push-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

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

- name: Build and publish a Docker image for ${{ github.repository }}
uses: macbre/push-to-ghcr@master
uses: docker/build-push-action@v3
with:
image_name: ${{ github.repository }}
github_token: ${{ secrets.GITHUB_TOKEN }}
dockerfile: ./Containerfile
context: .
image_tag: latest
file: ./Containerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{ github.repository }}:latest

0 comments on commit d6f5567

Please sign in to comment.