chore: separate release builds from push builds to prevent tag overwrites

This commit is contained in:
Aditya
2026-05-12 15:39:57 +05:30
parent 01a84b607d
commit 78735b42ce
2 changed files with 80 additions and 9 deletions
+5 -9
View File
@@ -20,19 +20,19 @@ jobs:
include:
- app: frontend
path: frontend
version: 2.2.0
version: 2.2.1
experimental: true
- app: backend
path: backend
version: 2.2.0
version: 2.2.1
experimental: true
- app: orborus
path: functions/onprem/orborus
version: 2.2.0
version: 2.2.1
experimental: true
- app: worker
path: functions/onprem/worker
version: 2.2.0
version: 2.2.1
experimental: true
steps:
- name: Checkout
@@ -59,7 +59,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Ghcr Build and push
- name: Build and push
id: docker_build
uses: docker/build-push-action@v4
env:
@@ -73,11 +73,7 @@ jobs:
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
tags: |
ghcr.io/shuffle/shuffle-${{ matrix.app }}:${{ matrix.version }}
ghcr.io/shuffle/shuffle-${{ matrix.app }}:latest
${{ secrets.DOCKERHUB_USERNAME }}/shuffle-${{ matrix.app }}:${{ matrix.version }}
frikky/shuffle-${{ matrix.app }}:${{ matrix.version }}
frikky/shuffle:${{ matrix.app }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}