update build that it use the VERSION file as Argument for gitea action build
Build and Push Docker Container / build-and-push (push) Has started running

This commit is contained in:
2025-10-14 16:36:30 +02:00
parent 1428582834
commit 6d32d1a32f
4 changed files with 18 additions and 12 deletions
+6
View File
@@ -22,6 +22,10 @@ jobs:
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.ACTION_ACCESS_TOKEN }}
- name: Set version
id: VERSION
run: echo "VERSION=`cat VERSION`" >> $GITHUB_ENV
- name: Build and push Docker image for latest tag
uses: docker/build-push-action@v6
with:
@@ -29,3 +33,5 @@ jobs:
push: true
tags: ${{ vars.DOCKER_REGISTRY_URL }}/daniel156161/protonmail-bridge:latest
platforms: linux/amd64
build-args: |
version=${{ env.VERSION }}