Skip to content

Commit

Permalink
Merge pull request #14 from immobiliare/fix/try-new-publish-release
Browse files Browse the repository at this point in the history
fix(ci): try new publish release
  • Loading branch information
JellyBellyDev authored Dec 19, 2023
2 parents 883dbb1 + a6073f9 commit 725a200
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: publish

on:
push:
tags:
- '*'
release:
types: [published]

env:
TEST_TAG: ghcr.io/immobiliare/inca:test
LATEST_TAG: ghcr.io/immobiliare/inca:latest
NEW_TAG: ghcr.io/immobiliare/inca:${{ github.event.release.tag_name }}

jobs:
publish:
Expand Down Expand Up @@ -34,5 +35,5 @@ jobs:
with:
context: .
platforms: linux/amd64,linux/arm64
tags: ghcr.io/immobiliare/inca:${{ env.GITHUB_REF_NAME }}, ${{ env.LATEST_TAG }}
tags: ${{ env.NEW_TAG }}, ${{ env.LATEST_TAG }}
push: true

0 comments on commit 725a200

Please sign in to comment.