ci: nur latest-tag, keine versionierung
This commit is contained in:
1 parent
36f36a131b
commit
356b1f9a7c
1 file changed
+1
-16
@@ -10,20 +10,8 @@ env:
|
||||
REGISTRY: gitea.lokcal.de
|
||||
|
||||
jobs:
|
||||
version:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
version: ${{ steps.v.outputs.version }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- id: v
|
||||
run: echo "version=$(./scripts/version.sh)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
backend:
|
||||
runs-on: ubuntu-latest
|
||||
needs: version
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Login to registry
|
||||
@@ -38,14 +26,12 @@ jobs:
|
||||
context: ./backend
|
||||
push: true
|
||||
build-args: |
|
||||
VERSION=${{ needs.version.outputs.version }}
|
||||
VERSION=latest
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ gitea.repository_owner }}/streamrip-ui-backend:latest
|
||||
${{ env.REGISTRY }}/${{ gitea.repository_owner }}/streamrip-ui-backend:${{ needs.version.outputs.version }}
|
||||
|
||||
frontend:
|
||||
runs-on: ubuntu-latest
|
||||
needs: version
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Login to registry
|
||||
@@ -61,4 +47,3 @@ jobs:
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ gitea.repository_owner }}/streamrip-ui-frontend:latest
|
||||
${{ env.REGISTRY }}/${{ gitea.repository_owner }}/streamrip-ui-frontend:${{ needs.version.outputs.version }}
|
||||
Reference in new issue
Block a user