Skip to content

Commit

Permalink
Update Docker Buildx setup in ghcr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mralext20 committed Apr 20, 2024
1 parent 48ce44c commit 613bcd4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,15 @@ jobs:
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

# This step uses the `docker/setup-buildx-action` action to set up the Docker Buildx builder. This is required to build and push multi-platform images.
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit 613bcd4

Please sign in to comment.