We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f61602 commit ee6b0e7Copy full SHA for ee6b0e7
.github/workflows/backend.yml
@@ -57,11 +57,16 @@ jobs:
57
username: ${{ github.actor }}
58
password: ${{ secrets.GITHUB_TOKEN }}
59
60
+ - name: Downcase GitHub username
61
+ run: echo "USERNAME_LC=${USERNAME@L}" >> $GITHUB_ENV
62
+ env:
63
+ USERNAME: ${{ github.repository_owner }}
64
+
65
- name: Build and push docker image
66
uses: docker/build-push-action@v6
67
with:
68
context: ./backend
69
push: true
70
tags: |
- ghcr.io/${{ github.repository_owner }}/${{ vars.DOCKER_TAG }}
71
+ ghcr.io/${{ env.USERNAME_LC }}/${{ vars.DOCKER_TAG }}
72
${{ vars.DOCKERHUB_USERNAME }}/${{ vars.DOCKER_TAG }}
0 commit comments