fix: lowercase repository name for docker build
Some checks failed
Build and Deploy / build-and-push (push) Failing after 1m5s
Some checks failed
Build and Deploy / build-and-push (push) Failing after 1m5s
This commit is contained in:
@@ -16,6 +16,9 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
- name: Convert repository name to lowercase
|
||||||
|
run: echo "repo_name=${GITHUB_REPOSITORY,,}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Login to Gitea Registry
|
- name: Login to Gitea Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
@@ -29,8 +32,8 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
gitea.blyzer.com.br/${{ gitea.repository }}:latest
|
gitea.blyzer.com.br/${{ env.repo_name }}:latest
|
||||||
gitea.blyzer.com.br/${{ gitea.repository }}:${{ gitea.sha }}
|
gitea.blyzer.com.br/${{ env.repo_name }}:${{ gitea.sha }}
|
||||||
build-args: |
|
build-args: |
|
||||||
API_KEY=${{ secrets.API_KEY || '' }}
|
API_KEY=${{ secrets.API_KEY || '' }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user