Skip to content

Commit

Permalink
fix: tag reference for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
aaqib-m committed Mar 21, 2024
1 parent 8650cdd commit c6988b9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
id: get_metadata
run: |
if [ "${{ github.event_name }}" == "push" ]; then
IMG_TAG="${{ github.ref }}"
IMG_TAG="${{ github.ref_name }}"
else
IMG_TAG=${{ github.event.inputs.releaseTag }}
fi
IMG="/public/aks/msi-acrpull:${IMG_TAG}"
IMG="public/aks/msi-acrpull:${IMG_TAG}"
echo "IMG_TAG=${IMG_TAG}" >> ${GITHUB_OUTPUT}
echo "IMG=${IMG}" >> ${GITHUB_OUTPUT}
outputs:
Expand All @@ -38,7 +38,7 @@ jobs:
labels: ["self-hosted", "1ES.Pool=${{ vars.RUNNER_BASE_NAME}}-ubuntu"]
needs: setup
env:
IMG: ${{ secrets.AZURE_CONTAINER_REGISTRY }}${{ needs.setup.outputs.IMG }}
IMG: ${{ secrets.AZURE_CONTAINER_REGISTRY }}/${{ needs.setup.outputs.IMG }}
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down

0 comments on commit c6988b9

Please sign in to comment.