Merge branch 'ci-docker-versioning' of https://github.com/varun-raj/immich-power-tools into feat-nov-release
This commit is contained in:
commit
0ca10d36bd
4 files changed
+5
-11
No files matched your search
@@ -43,8 +43,8 @@ jobs:
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Build and push Docker image
|
||||
run: |
|
||||
docker build --build-arg BUILD_VERSION=${{ needs.release.outputs.new-release-version }} VERSION=${{ needs.release.outputs.new-release-version }} \
|
||||
-t ghcr.io/${{ github.repository }}:${{ needs.release.outputs.new-release-version }} \
|
||||
echo VERSION=${{ needs.release.outputs.new-release-version }} >> .env
|
||||
docker build -t ghcr.io/${{ github.repository }}:${{ needs.release.outputs.new-release-version }} \
|
||||
-t ghcr.io/${{ github.repository }}:latest .
|
||||
docker push ghcr.io/${{ github.repository }}:latest
|
||||
docker push ghcr.io/${{ github.repository }}:${{ needs.release.outputs.new-release-version }}
|
||||
Reference in new issue
Block a user