Skip to content

Commit ee6b0e7

Browse files
authored
fix
1 parent 9f61602 commit ee6b0e7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/backend.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,16 @@ jobs:
5757
username: ${{ github.actor }}
5858
password: ${{ secrets.GITHUB_TOKEN }}
5959

60+
- name: Downcase GitHub username
61+
run: echo "USERNAME_LC=${USERNAME@L}" >> $GITHUB_ENV
62+
env:
63+
USERNAME: ${{ github.repository_owner }}
64+
6065
- name: Build and push docker image
6166
uses: docker/build-push-action@v6
6267
with:
6368
context: ./backend
6469
push: true
6570
tags: |
66-
ghcr.io/${{ github.repository_owner }}/${{ vars.DOCKER_TAG }}
71+
ghcr.io/${{ env.USERNAME_LC }}/${{ vars.DOCKER_TAG }}
6772
${{ vars.DOCKERHUB_USERNAME }}/${{ vars.DOCKER_TAG }}

0 commit comments

Comments
 (0)