ci: fix uppercase
This commit is contained in:
@@ -32,9 +32,10 @@ jobs:
|
|||||||
registry: git.zhukovsky.me
|
registry: git.zhukovsky.me
|
||||||
username: ${{ gitea.actor }}
|
username: ${{ gitea.actor }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Tag and Push
|
- name: Tag and Push
|
||||||
run: |
|
run: |
|
||||||
REGISTRY_IMAGE="git.zhukovsky.me/${{ gitea.repository }}"
|
REGISTRY_IMAGE="git.zhukovsky.me/$(echo ${{ gitea.repository }} | tr '[:upper:]' '[:lower:]')"
|
||||||
echo "Pushing image to: $REGISTRY_IMAGE"
|
echo "Pushing image to: $REGISTRY_IMAGE"
|
||||||
|
|
||||||
docker tag test-nix-hello:latest $REGISTRY_IMAGE:latest
|
docker tag test-nix-hello:latest $REGISTRY_IMAGE:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user