Skip to content

Commit

Permalink
ci(devcontainer): delete untagged containers
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil authored Feb 19, 2024
1 parent 1ad9fc0 commit 0684e3e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,16 @@ jobs:
imageTag: ${{ steps.tag.outputs.tag }}
push: always
runCmd: Rscript /eggla-example.R

clean:
needs: 'build-devcontainer'
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Delete obsolete/untagged versions
uses: actions/delete-package-versions@v5
with:
package-name: ${{ github.event.repository.name }}
package-type: "container"
token: ${{ secrets.GITHUB_TOKEN }}
delete-only-untagged-versions: "true"

0 comments on commit 0684e3e

Please sign in to comment.