Skip to content

Commit 9b1a7ae

Browse files
authored
Merge pull request #2814 from testssl/revert-2813-revert_2772_for_testing
Revert "Revert lowercase conversion for repo"
2 parents 6dc26b0 + 78a613d commit 9b1a7ae

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/docker-3.2.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
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' }}
@@ -58,5 +61,5 @@ jobs:
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

0 commit comments

Comments
 (0)