Skip to content

Commit

Permalink
Update image name
Browse files Browse the repository at this point in the history
  • Loading branch information
pgschk committed Jan 7, 2024
1 parent df8dc40 commit adb3ec5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: pgschk/alpine-tookit
IMAGES: |
docker.io/pgschk/alpine-toolkit
ghcr.io/pgschk/alpine-toolkit
TEST_TAG: test

jobs:
Expand Down Expand Up @@ -45,7 +47,7 @@ jobs:
uses: docker/metadata-action@v4
with:
images: |
${{ env.IMAGE_NAME }}
${{ env.IMAGES }}
tags: |
type=edge
type=sha
Expand Down Expand Up @@ -81,7 +83,7 @@ jobs:
# Check if image is build
- name: Check images created
run: buildah images | grep '${{ env.IMAGE_NAME }}'
run: buildah images | grep '${{ env.IMAGES }}'

- name: Check image metadata
run: |
Expand Down Expand Up @@ -127,4 +129,4 @@ jobs:
COSIGN_EXPERIMENTAL: "true"
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${{ steps.docker-metadata.outputs.tags }}" | xargs -I {} cosign sign --yes {}@${{ steps.build_image.outputs.digest }}
run: echo "${{ steps.docker-metadata.outputs.tags }}" | xargs -I {} cosign sign --yes {}@${{ steps.build_image.outputs.image-with-tag }}

0 comments on commit adb3ec5

Please sign in to comment.