Skip to content

Scheduling infrastructure for absolutely everyone.

chore: release amd as latest (#25949)

Volnei Munhoz641b249e9237
diff --git a/.github/actions/docker-build-and-test/action.yml b/.github/actions/docker-build-and-test/action.yml
index e0d68287f38..7fc938c6b87 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 b9b9bb5b996..d695355d5ce 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()