Skip to content
This repository was archived by the owner on Nov 12, 2026. It is now read-only.

Commit ba3c64a

Browse files
ChrisLoveringjb3
authored andcommitted
Push image to GHCR on push to deployment, with latest tag
1 parent ab863db commit ba3c64a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎.github/workflows/docker-image.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Create and publish a Docker image
33

44
on:
55
push:
6-
branches: ['master']
6+
branches: ['deployment']
77

88
env:
99
REGISTRY: ghcr.io
@@ -32,6 +32,9 @@ jobs:
3232
uses: docker/metadata-action@v4
3333
with:
3434
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
35+
tags: |
36+
type=raw,value=latest
37+
type=sha
3538
3639
- name: Build and push Docker image
3740
uses: docker/build-push-action@v3

0 commit comments

Comments
 (0)