create tagged docker image version too based on bridge version
Build and Push Docker Container / build-and-push (push) Successful in 6m17s

This commit is contained in:
GitHub Actions
2026-03-11 09:07:35 +01:00
parent 6a4d5f26c2
commit ebce5c4f8d
+4 -2
View File
@@ -29,12 +29,14 @@ jobs:
- name: Convert repository owner to lowercase - name: Convert repository owner to lowercase
run: echo "REPO_OWNER_LC=$(echo '${{ gitea.repository_owner }}' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV 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
uses: docker/build-push-action@v7 uses: docker/build-push-action@v7
with: with:
context: ./build context: ./build
push: true push: true
tags: ${{ vars.DOCKER_REGISTRY_URL }}/${{ env.REPO_OWNER_LC }}/protonmail-bridge:latest tags: |
${{ vars.DOCKER_REGISTRY_URL }}/${{ env.REPO_OWNER_LC }}/protonmail-bridge:latest
${{ vars.DOCKER_REGISTRY_URL }}/${{ env.REPO_OWNER_LC }}/protonmail-bridge:${{ env.VERSION }}
platforms: linux/amd64 platforms: linux/amd64
build-args: | build-args: |
VERSION=${{ env.VERSION }} VERSION=${{ env.VERSION }}