From 641b249e92377607f8184230018977a9d69063c0 Mon Sep 17 00:00:00 2001 From: Volnei Munhoz Date: Tue, 16 Dec 2025 23:35:55 -0300 Subject: [PATCH] chore: release amd as latest (#25949) * release amd as latest * remove dockerfile change * Apply suggestions from code review changed from linux/amd64 to amd64 * Revert removed comment * introduce latest as parameter * introduce latest as parameter --- .github/actions/docker-build-and-test/action.yml | 6 +++++- .github/workflows/release-docker.yaml | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/actions/docker-build-and-test/action.yml b/.github/actions/docker-build-and-test/action.yml index e0d68287f3..7fc938c6b8 100644 --- a/.github/actions/docker-build-and-test/action.yml +++ b/.github/actions/docker-build-and-test/action.yml @@ -34,6 +34,10 @@ inputs: description: "Whether to push the built image" required: false default: "false" + use-as-latest: + description: "Publish as latest" + required: false + default: "false" runs: using: "composite" @@ -61,7 +65,7 @@ runs: docker.io/calcom/cal.com ghcr.io/calcom/cal.com flavor: | - latest=${{ !github.event.release.prerelease }} + latest=${{ !github.event.release.prerelease && inputs.use-as-latest == 'true' }} suffix=${{ inputs.platform-suffix }} - name: Copy env diff --git a/.github/workflows/release-docker.yaml b/.github/workflows/release-docker.yaml index b9b9bb5b99..d695355d5c 100644 --- a/.github/workflows/release-docker.yaml +++ b/.github/workflows/release-docker.yaml @@ -40,6 +40,7 @@ jobs: postgres-db: ${{ env.POSTGRES_DB }} database-host: ${{ env.DATABASE_HOST }} push-image: "true" + use-as-latest: "true" - name: Notify Slack on Success if: success()