Skip to content

Commit 60361b1

Browse files
committed
perf: output GH_REF_NAME in az_acr_test
1 parent d7a2859 commit 60361b1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/az_acr_test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: 'ACR: Docker Push Test'
22

33
on:
44
workflow_call:
5+
outputs:
6+
GH_REF_NAME:
7+
description: "Test Docker image tag"
8+
value: ${{ jobs.az-acr-push.outputs.GH_REF_NAME }}
59

610
jobs:
711
az-acr-push:
@@ -12,6 +16,8 @@ jobs:
1216
AZURE_CONTAINER_REGISTRY: ${{ vars.AZURE_CONTAINER_REGISTRY }}
1317
ACR_LOGIN_USERNAME: ${{ secrets.ACR_LOGIN_USERNAME }}
1418
ACR_LOGIN_PASSWORD: ${{ secrets.ACR_LOGIN_PASSWORD }}
19+
outputs:
20+
GH_REF_NAME: test-${{ steps.branch_name.outputs.GH_REF_NAME }}
1521
steps:
1622
- name: Checkout repository
1723
uses: actions/checkout@v4

0 commit comments

Comments
 (0)