Skip to content
Merged

Dev #106

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/release.yml

This file was deleted.

16 changes: 1 addition & 15 deletions .github/workflows/cd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,8 @@ on:
types: [published]
branches: [main]

workflow_call:
inputs:
tag_name:
description: Docker image tag / Release tag
required: true
type: string
target_commitish:
description: Branch to build from
required: true
type: string

jobs:
deploy:
if: ${{ inputs.target_commitish == 'main' || github.event.release.target_commitish == 'main' }}
name: Build & Deploy
runs-on: ubuntu-latest

Expand All @@ -27,7 +15,7 @@ jobs:
packages: write

env:
RELEASE_TAG: ${{ inputs.tag_name || github.event.release.tag_name }}
RELEASE_TAG: ${{ github.event.release.tag_name }}

steps:
- name: Checkout code
Expand Down Expand Up @@ -56,8 +44,6 @@ jobs:
images: ghcr.io/${{ github.repository }}
tags: |
type=semver,pattern={{version}},value=${{ env.RELEASE_TAG }}
type=semver,pattern={{major}}.{{minor}},value=${{ env.RELEASE_TAG }}
type=semver,pattern={{major}},value=${{ env.RELEASE_TAG }}

- name: Build & Push Docker image
uses: docker/build-push-action@v5
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cd-promote-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ jobs:

- name: Promote version to stable
run: |
IMAGE=ghcr.io/$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')
IMAGE=ghcr.io/${{ github.repository }}
IMAGE=$(echo "$IMAGE" | tr '[:upper:]' '[:lower:]')
VERSION=${{ inputs.version }}

docker buildx imagetools create \
-t $IMAGE:stable \
--tag $IMAGE:stable \
--prefer-index \
$IMAGE:$VERSION
33 changes: 0 additions & 33 deletions .github/workflows/dispatch-release.yml

This file was deleted.