Update docs

This commit is contained in:
Alan Grainger
2024-10-31 14:30:26 +01:00
parent 83847ba59b
commit 1324bd2b2f
2 changed files with 13 additions and 4 deletions
+3 -4
View File
@@ -3,7 +3,7 @@ name: Create and publish a Docker image
on:
push:
tags:
- 'v*' # Only on version tags like v1.0, v2.0, etc.
- 'v*' # Only on version tags like v1.0, v2.0, etc.
env:
REGISTRY: ghcr.io
@@ -39,9 +39,8 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags:
# set latest tag for default branch
type=raw,value=latest,enable={{is_default_branch}}
# set 'latest' tag for default branch (main)
tags: type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push Docker image
uses: docker/build-push-action@v5