Skip to content

Commit

Permalink
fix purge
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilgardis committed Jan 17, 2022
1 parent 7932439 commit 58cd4d2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/bake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
tags: ["v*"]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
IMAGE_NAME: ${{ github.event.repository.name}}
IMAGE_NAME_FQ: ${{ github.repository_owner }}${{ github.repository }}

jobs:
bake:
Expand All @@ -31,7 +32,7 @@ jobs:
id: meta
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME_FQ }}
tags: |
type=ref,event=branch
type=edge
Expand All @@ -51,7 +52,7 @@ jobs:
- name: Delete old images
uses: snok/container-retention-policy@v1
with:
image-names: ${{ env.IMAGE_NAME}}
image-names: ${{ env.IMAGE_NAME }}
cut-off: One day ago UTC
keep-at-least: 2
account-type: personal
Expand Down

0 comments on commit 58cd4d2

Please sign in to comment.