Skip to content

Commit

Permalink
ci(release): use custom tags
Browse files Browse the repository at this point in the history
  • Loading branch information
obviyus committed Feb 27, 2024
1 parent 1aac75d commit 6f914e6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ jobs:
fail-fast: false
matrix:
include:
- dockerfile: ./worker/Dockerfile
- name: worker
dockerfile: ./worker/Dockerfile
image: ghcr.io/obviyus/chanson.live/worker
- dockerfile: ./controller/Dockerfile
- name: controller
dockerfile: ./controller/Dockerfile
image: ghcr.io/obviyus/chanson.live/controller
permissions:
packages: write
Expand Down Expand Up @@ -74,7 +76,9 @@ jobs:
platforms: linux/amd64,linux/arm64
file: ${{ matrix.dockerfile }}
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: |
${{ matrix.image }}/${{ matrix.name }}:${{ github.sha }}
${{ matrix.image }}/${{ matrix.name }}:latest
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 6f914e6

Please sign in to comment.