Skip to content

Commit 8a8abe0

Browse files
committedAug 16, 2024
Also build docker image on tags
1 parent 1a37894 commit 8a8abe0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎.github/workflows/dockertag.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: Create and publish a Docker image
22
on:
33
push:
4-
branches: ["main"]
4+
branches:
5+
- main
6+
tags:
7+
- "v*"
58
env:
69
REGISTRY: ghcr.io
710
IMAGE_NAME: ${{ github.repository }}
@@ -37,7 +40,7 @@ jobs:
3740
with:
3841
context: .
3942
push: true
40-
tags: ${{ steps.meta.outputs.tags }}
43+
tags: ${{ steps.meta.outputs.tags }}, ghcr.io/copilot-extensions/github-models-extension:${{ }}
4144
labels: ${{ steps.meta.outputs.labels }}
4245

4346
# This step generates an artifact attestation for the image, which is an unforgeable statement about where and how it was built. It increases supply chain security for people who consume the image. For more information, see "[AUTOTITLE](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds)."

0 commit comments

Comments
 (0)
Failed to load comments.