Skip to content

Commit 7f6bf5c

Browse files
authored
Update deploy_to_ghcr_custom_tag.yaml
1 parent 881fde1 commit 7f6bf5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy_to_ghcr_custom_tag.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
steps:
1818
- name: Checkout GitHub Action
1919
uses: actions/checkout@v4
20+
with:
21+
ref: ${{ github.event.inputs.tag }}
2022

2123
- name: Login to GitHub Container Registry
2224
uses: docker/login-action@v3
@@ -33,4 +35,4 @@ jobs:
3335
docker build --label "org.opencontainers.image.title=copilot-metrics-viewer" --label "org.opencontainers.image.description=Metrics viewer for GitHub Copilot usage" --label "org.opencontainers.image.source=$GITHUB_REPO" -t ghcr.io/$GITHUB_REPO:$TAG .
3436
docker push ghcr.io/$GITHUB_REPO:$TAG
3537
env:
36-
GITHUB_REPO: ${{ github.repository }}
38+
GITHUB_REPO: ${{ github.repository }}

0 commit comments

Comments
 (0)