Update docker-image.yml

This commit is contained in:
MrTyton 2022-03-25 14:43:39 -07:00 committed by GitHub
parent c6754d965c
commit 5d6dee749c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,8 +27,11 @@ jobs:
- name: Set version - name: Set version
run: | run: |
RELEASE_VERSION=$(cat release-versions/latest.txt) RELEASE_VERSION=$(cat release-versions/latest.txt)
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV
CALIBRE_VERSION=$(cat release-versions/calibre.txt) CALIBRE_VERSION=$(cat release-versions/calibre.txt)
echo "CALIBRE_VERSION=$CALIBRE_VERSION" >> $GITHUB_ENV
FFF_VERSION=$(cat release-versions/fff.txt) FFF_VERSION=$(cat release-versions/fff.txt)
echo "FFF_VERSION=$FFF_VERSION" >> $GITHUB_ENV
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v1 uses: docker/login-action@v1
@ -43,5 +46,5 @@ jobs:
file: ./Dockerfile file: ./Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: ${{RELEASE_VERSION}} tags: ${{env.RELEASE_VERSION}}
build-args: VERSION=${{RELEASE_VERSION}}, CALIBRE_RELEASE=${{CALIBRE_VERSION}}, FFF_RELEASE=${{FFF_VERSION}} build-args: VERSION=${{env.RELEASE_VERSION}}, CALIBRE_RELEASE=${{env.CALIBRE_VERSION}}, FFF_RELEASE=${{env.FFF_VERSION}}