ci: enabling dev branch to make nightly releases

This commit is contained in:
Aditya
2024-12-13 01:42:12 +05:30
parent 49c5291c7b
commit 8b8c9c5f10
+5 -8
View File
@@ -3,7 +3,7 @@ name: dockerbuild
on: on:
push: push:
branches: branches:
- main - dev
paths: paths:
- "**" - "**"
- "!.github/**" - "!.github/**"
@@ -19,19 +19,19 @@ jobs:
include: include:
- app: frontend - app: frontend
path: frontend path: frontend
version: 2.0.0 version: nightly
experimental: true experimental: true
- app: backend - app: backend
path: backend path: backend
version: 2.0.0 version: nightly
experimental: true experimental: true
- app: orborus - app: orborus
path: functions/onprem/orborus path: functions/onprem/orborus
version: 2.0.0 version: nightly
experimental: true experimental: true
- app: worker - app: worker
path: functions/onprem/worker path: functions/onprem/worker
version: 2.0.0 version: nightly
experimental: true experimental: true
steps: steps:
- name: Checkout - name: Checkout
@@ -73,11 +73,8 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache
tags: | tags: |
ghcr.io/shuffle/shuffle-${{ matrix.app }}:${{ matrix.version }} ghcr.io/shuffle/shuffle-${{ matrix.app }}:${{ matrix.version }}
ghcr.io/shuffle/shuffle-${{ matrix.app }}:latest
${{ secrets.DOCKERHUB_USERNAME }}/shuffle-${{ matrix.app }}:${{ matrix.version }} ${{ secrets.DOCKERHUB_USERNAME }}/shuffle-${{ matrix.app }}:${{ matrix.version }}
${{ secrets.DOCKERHUB_USERNAME }}/shuffle-${{ matrix.app }}:latest
frikky/shuffle-${{ matrix.app }}:${{ matrix.version }} frikky/shuffle-${{ matrix.app }}:${{ matrix.version }}
frikky/shuffle-${{ matrix.app }}:latest
frikky/shuffle:${{ matrix.app }} frikky/shuffle:${{ matrix.app }}
- name: Image digest - name: Image digest