Skip to content

Commit

Permalink
corrected build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaydee94 committed Nov 30, 2024
1 parent cfd9e55 commit 396dc4f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/ghcr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Create and publish Docker images on ghcr.io
on:
push:
branches: ['master']
tags: ['*'] # Triggers on release tags
tags: ['*']
pull_request:
branches: ['master']
schedule:
Expand Down Expand Up @@ -53,11 +53,22 @@ jobs:
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
if: !startsWith(github.ref, 'refs/tags/')
with:
images: ${{ matrix.image }}
tags: |
type=semver,pattern={{version}}
${{ github.event_name == 'push' && github.ref_type == 'tag' && 'type=raw,value=latest' }}
type=raw,value=latest
- name: Extract metadata (tags, labels) for Docker with latest tag
id: meta
uses: docker/metadata-action@v5
if: startsWith(github.ref, 'refs/tags/')
with:
images: ${{ matrix.image }}
tags: |
type=semver,pattern={{version}}
type=raw,value=latest
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down
1 change: 1 addition & 0 deletions chart/kubeseal-webgui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Container Images are now uploaded to the GitHub Registry instead of DockerHub.

## Uninstalling the Chart

```console
To uninstall/delete the my-release deployment:

helm uninstall kubeseal-webgui kubesealwebgui/kubeseal-webgui --namespace <namespacename>
Expand Down

0 comments on commit 396dc4f

Please sign in to comment.