Skip to content

Commit

Permalink
Merge pull request #25 from samply/fix/baseDeletionOnInput
Browse files Browse the repository at this point in the history
Fix/base deletion on input
  • Loading branch information
lablans authored Apr 15, 2024
2 parents b74555c + 4ab29dd commit e9523fb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ on:

jobs:
tidy-ghcr:
name: Tidy GHCR images older than ${{ inputs.ghcr-retention-policy }}
name: Tidy GHCR images (${{ inputs.image-name }})
runs-on: ubuntu-latest
if: ${{ inputs.ghcr-retention-policy != 'keep' }}

steps:
- name: Delete old images
uses: snok/container-retention-policy@v2
with:
image-names: ${{ github.event.repository.name }}
image-names: ${{ inputs.image-name }}
cut-off: ${{ inputs.ghcr-retention-policy }} ago UTC
account-type: org
org-name: samply
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ jobs:

# This workflow defines how a maven package is built, tested and published.
# Visit: https://github.com/samply/github-workflows/blob/develop/.github/workflows/docker-ci.yml, for more information
uses: samply/github-workflows/.github/workflows/docker-ci.yml@main
uses: samply/github-workflows/.github/workflows/docker-ci.yml
with:
# The Docker Hub Repository you want eventually push to, e.g samply/share-client
image-name: ${{ inputs.image-prefix }}${{ matrix.components }}
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.4.2 - 2024-04-15]
### Fixed
- Use input image name for image tag deletion
## [1.4.1 - 2024-04-11]
### Added
- Always push GHCR images based on commit id, e.g. `samply/component:commit-123456`
Expand Down

0 comments on commit e9523fb

Please sign in to comment.