File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,16 @@ jobs:
3131 restore-keys : |
3232 ${{ runner.os }}-buildx-
3333
34+ - name : downcase REPO
35+ run : echo "REPO=${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV
36+
3437 - name : Client -> Build and push Docker image
3538 uses : docker/build-push-action@v3
3639 with :
3740 context : ./client
3841 file : ./client/Dockerfile
3942 push : true
40- tags : ghcr.io/${{ github.repository.toLowerCase() }}/client:latest
43+ tags : ghcr.io/${{ env.REPO }}/client:latest
4144 platforms : linux/amd64
4245
4346 - name : Server -> Build and push Docker image
4649 context : ./server
4750 file : ./server/Dockerfile
4851 push : true
49- tags : ghcr.io/${{ github.repository.toLowerCase() }}/server:latest
52+ tags : ghcr.io/${{ env.REPO }}/server:latest
5053 platforms : linux/amd64
You can’t perform that action at this time.
0 commit comments