Skip to content

Commit

Permalink
Use GHCR docker image by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ianb-mp committed Jun 10, 2024
1 parent e3dd690 commit 1c28dda
Show file tree
Hide file tree
Showing 3 changed files with 211 additions and 202 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/image-push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,16 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.IMAGE_NAME }}
tags:
type=sha,format=long
type=raw,value=latest

- name: Build and push container image
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: ${{ env.BUILD_PLATFORMS }}
tags: |
${{ env.IMAGE_NAME }}:latest
${{ env.IMAGE_NAME }}:${{ github.sha }}
tags: ${{ steps.docker_meta.outputs.tags }}
file: ./Dockerfile
labels: ${{ steps.docker_meta.outputs.labels }}
Loading

0 comments on commit 1c28dda

Please sign in to comment.