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
Build and Push Docker Container / build-and-push (push) Has started running
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user