Skip to content

Commit

Permalink
Made it so all future release images will be multiplatform (linux/amd…
Browse files Browse the repository at this point in the history
…64 & linux/arm64) and build automatically from the repo on the publishing of a new release
  • Loading branch information
crocodilestick committed Nov 7, 2024
1 parent 1f5fa58 commit 01d4a00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/dockerhub-build-push-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
context: .
file: ./Dockerfile
push: true
build-args: |
BUILD_DATE=${{ github.event.repository.updated_at }}
VERSION=${{ github.event.release.tag_name }}
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/calibre-web-automated:${{ github.event.release.tag_name }}
${{ secrets.DOCKERHUB_USERNAME }}/calibre-web-automated:latest
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ ARG VERSION
ARG CALIBREWEB_RELEASE=0.6.23
ARG LSCW_RELEASE=0.6.23-ls291
LABEL build_version="Version:- ${VERSION}"
LABEL build_type="localbuild"
LABEL build_date="${BUILD_DATE}"
LABEL CW-Stock-version="${CALIBREWEB_RELEASE}"
LABEL LSCW_Image_Release="${LSCW_RELEASE}"
LABEL maintainer="CrocodileStick"

# Copy local files into the container
Expand Down

0 comments on commit 01d4a00

Please sign in to comment.