make repository owner lower case
Build and Push Docker Container / build-and-push (push) Successful in 4m4s

This commit is contained in:
GitHub Actions
2025-10-18 10:50:46 +02:00
parent 099788985a
commit ef553d2e0e
+4 -1
View File
@@ -26,12 +26,15 @@ jobs:
id: VERSION id: VERSION
run: echo "VERSION=`cat VERSION`" >> $GITHUB_ENV run: echo "VERSION=`cat VERSION`" >> $GITHUB_ENV
- name: Convert repository owner to lowercase
run: echo "REPO_OWNER_LC=$(echo '${{ gitea.repository_owner }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
- name: Build and push Docker image for latest tag - name: Build and push Docker image for latest tag
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
context: ./build context: ./build
push: true push: true
tags: ${{ vars.DOCKER_REGISTRY_URL }}/${{ gitea.repository_owner }}/protonmail-bridge:latest tags: ${{ vars.DOCKER_REGISTRY_URL }}/${{ env.REPO_OWNER_LC }}/protonmail-bridge:latest
platforms: linux/amd64 platforms: linux/amd64
build-args: | build-args: |
VERSION=${{ env.VERSION }} VERSION=${{ env.VERSION }}