Skip to content

Commit

Permalink
Push image and make Helm chart only on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondJoseph committed Jan 29, 2025
1 parent d025ef6 commit 5ed31a4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
with:
context: .
file: Dockerfile
push: true
push: startsWith(github.ref, 'refs/tags/')
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

Expand All @@ -56,6 +56,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
id: install
if: startsWith(github.ref, 'refs/tags/')

- name: Log in to the Chart registry
run: |
Expand All @@ -65,4 +66,8 @@ jobs:
run: |
helm dependencies update helm/tiled
helm package helm/tiled --version ${{ steps.meta.outputs.version }} --app-version ${{ steps.meta.outputs.version }} -d /tmp/
- name: Publish Helm chart
if: startsWith(github.ref, 'refs/tags/')
run: |
helm push /tmp/tiled-${{ steps.meta.outputs.version }}.tgz oci://ghcr.io/bluesky/charts
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Write the date in place of the "Unreleased" in the case a new version is release
mode in the `AboutAuthenticationProvider` schema to be `internal`|`external`.
Python clients older than v0.1.0b17 will be sent `password` for back-compat.
- Improved type hinting and efficiency of caching singleton values
- Publish Container image and Helm chart only during a tagged release.

## v0.1.0-b16 (2024-01-23)

Expand Down

0 comments on commit 5ed31a4

Please sign in to comment.