1
0
Fork 0
mirror of https://github.com/imjasonh/setup-crane synced 2026-07-06 22:52:45 +00:00

Update use-action.yaml

This commit is contained in:
Jason Hall 2026-06-01 11:43:59 -04:00 committed by GitHub
parent 9feaf12874
commit 67f282ddd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,8 @@ on:
push:
branches: ['main']
permissions: {}
jobs:
use-action:
name: Use Action
@ -17,6 +19,9 @@ jobs:
defaults:
run:
shell: bash
permissions:
packages: write
steps:
- uses: actions/setup-go@v5
@ -28,6 +33,8 @@ jobs:
- run: |
crane digest ubuntu
crane manifest ubuntu | jq
- if: github.event_name == 'push'
run: |
crane copy ubuntu ghcr.io/${{ github.repository }}/ubuntu-copy
- name: Install old release