Skip to content

Commit

Permalink
ci: Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jimisola committed Feb 26, 2024
1 parent 6d2aa82 commit 41b1cca
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/docker-publish..yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:
platform:
- linux/amd64
- linux/arm64
# - linux/arm/v6
# - linux/arm/v7

steps:
- name: Checkout repository
Expand All @@ -45,9 +43,7 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
flavor: |
latest=auto
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=schedule
type=ref,event=branch
Expand Down Expand Up @@ -94,11 +90,11 @@ jobs:
# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
- name: Install cosign
#if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v')
uses: sigstore/[email protected]

- name: Sign the images with GitHub OIDC Token
#if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v')
env:
DIGEST: ${{ steps.build-and-push.outputs.digest }}
TAGS: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit 41b1cca

Please sign in to comment.