Skip to content

Commit

Permalink
build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
shubms committed Dec 7, 2024
1 parent d10fcbd commit 2863161
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,20 @@ jobs:
oci: true
layers: true

- name: Push To GHCR
uses: redhat-actions/push-to-registry@v2
id: push
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
with:
image: ${{ steps.build.outputs.image }}
tags: ${{ steps.build.outputs.tags }}
registry: |
${{ env.REGISTRY }}/${{ github.repository_owner }}
username: ${{ github.repository_owner }}
password: ${{ github.token }}
extra-args: |
--sign-by-sigstore=env://SIGNING_KEY
# - name: Push To GHCR
# uses: redhat-actions/push-to-registry@v2
# id: push
# env:
# SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
# with:
# image: ${{ steps.build.outputs.image }}
# tags: ${{ steps.build.outputs.tags }}
# registry: |
# ${{ env.REGISTRY }}/${{ github.repository_owner }}
# username: ${{ github.repository_owner }}
# password: ${{ github.token }}
# extra-args: |
# --sign-by-sigstore=env://SIGNING_KEY

- name: Cleanup old images
uses: actions/delete-package-versions@v5
Expand Down

0 comments on commit 2863161

Please sign in to comment.