Skip to content

Commit

Permalink
upgrade actions: checkout docker-login delete-pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
romeroalx committed Jan 31, 2024
1 parent 536a4ee commit 12de809
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-debian-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- run: |
echo "image-id-lowercase=ghcr.io/${{ github.repository }}/${{ matrix.image-id }}" | tr '[:upper:]' '[:lower:]' >> "$GITHUB_ENV"
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Login to GitHub Container Registry
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
echo "${{ github.repository }}" | awk -F'/' '{print "repo-name="$2}' >> "$GITHUB_ENV"
- name: Purge old images keeping the 5 more recent ones
uses: actions/delete-package-versions@v4
uses: actions/delete-package-versions@v5
with:
package-name: ${{ env.repo-name }}/${{ matrix.image-id }}
package-type: container
Expand Down

0 comments on commit 12de809

Please sign in to comment.