File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 deploy :
1919 runs-on : ubuntu-24.04
2020 steps :
21+ - name : lowercase the repository name
22+ run : echo "REPO=${GITHUB_REPOSITORY@L}" >> "${GITHUB_ENV}"
23+
2124 - name : Source checkout
2225 uses : actions/checkout@v4
2326
@@ -33,11 +36,11 @@ jobs:
3336 id : docker_meta
3437 uses : docker/metadata-action@v5
3538 with :
36- images : ${{ github.repository }}
39+ images : ${{ env.REPO }}
3740 labels : |
3841 org.opencontainers.image.version=${{ env.GIT_BRANCH }}
3942 org.opencontainers.image.revision=${{ github.sha }}
40- org.opencontainers.image.title=${{ github.repository }}
43+ org.opencontainers.image.title=${{ env.REPO }}
4144
4245 - name : GitHub login
4346 if : ${{ github.event_name != 'pull_request' }}
5861 cache-to : type=gha, scope=${{ github.workflow }}
5962 labels : ${{ steps.docker_meta.outputs.labels }}
6063 tags : |
61- ghcr.io/${{ github.repository }}:${{ env.GIT_BRANCH }}
62- ghcr.io/${{ github.repository }}:latest
64+ ghcr.io/${{ env.REPO }}:${{ env.GIT_BRANCH }}
65+ ghcr.io/${{ env.REPO }}:latest
You can’t perform that action at this time.
0 commit comments