Update container.yml

This commit is contained in:
Mitchell Syer
2025-01-13 09:46:25 -05:00
committed by GitHub
parent 53859a84a3
commit 9951e2ff26

View File

@@ -174,8 +174,7 @@ jobs:
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64/v8,linux/ppc64le,linux/s390x,linux/riscv64
load: true # this is important, as this tells build-push-action to save the container to the local docker daemon
push: false
push: true
build-args: |
BUILD_DATE=${{ steps.get_latest_release_metadata.outputs.build_date }}
TACHIDESK_RELEASE_TAG=${{ steps.get_latest_release_metadata.outputs.release_tag }}
@@ -196,13 +195,13 @@ jobs:
# target: ghcr.io/suwayomi/tachidesk:${{ inputs.tachidesk_release_type }}
# tag: '${{ inputs.tachidesk_release_type }}-slim'
- name: Tag slim container and push registery to repository
run: |
# - name: Tag slim container and push registery to repository
# run: |
# docker tag ghcr.io/suwayomi/tachidesk:${{ inputs.tachidesk_release_type }}-slim ghcr.io/suwayomi/tachidesk:${{ steps.get_latest_release_metadata.outputs.release_tag }}-slim
# if [ "${{ inputs.tachidesk_release_type }}" == "stable" ]; then
# docker tag ghcr.io/suwayomi/tachidesk:${{ inputs.tachidesk_release_type }}-slim ghcr.io/suwayomi/tachidesk:latest-slim
# fi
docker image push "ghcr.io/suwayomi/tachidesk" --all-tags
# docker image push "ghcr.io/suwayomi/tachidesk" --all-tags
- name: Send a Discord message through the webhook (preview build)
if: inputs.do_upload && inputs.tachidesk_release_type == 'preview'