Skip to content

Commit

Permalink
fix: cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
Friedjof committed Oct 9, 2024
1 parent e10dfc0 commit 0cdb3f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build, Publish Docker Image, and Create Release
on:
push:
tags:
- 'v*' # Trigger bei jedem neuen Tag, der mit "v" beginnt, z.B. "v0.0.1"
- 'v*' # Trigger bei jedem neuen Tag, der mit "v" beginnt, z.B. "v0.0.2"

jobs:
build:
Expand All @@ -29,8 +29,8 @@ jobs:
context: .
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/laundrytracker:${{ github.ref_name }}
ghcr.io/${{ github.repository_owner }}/laundrytracker:latest
ghcr.io/${{ github.repository_owner }}/$(echo "${{ github.event.repository.name }}" | tr '[:upper:]' '[:lower:]'):${{ github.ref_name }}
ghcr.io/${{ github.repository_owner }}/$(echo "${{ github.event.repository.name }}" | tr '[:upper:]' '[:lower:]'):latest
- name: Create GitHub Release
id: create_release
Expand All @@ -40,6 +40,6 @@ jobs:
release_name: Release ${{ github.ref_name }}
body: |
This release is automatically generated from the new tag.
Docker image is available under ghcr.io/${{ github.repository_owner }}/laundrytracker:${{ github.ref_name }}
Docker image is available under ghcr.io/${{ github.repository_owner }}/$(echo "${{ github.event.repository.name }}" | tr '[:upper:]' '[:lower:]'):${{ github.ref_name }}
draft: false
prerelease: false

0 comments on commit 0cdb3f2

Please sign in to comment.