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:
parent
9feaf12874
commit
67f282ddd4
1 changed files with 7 additions and 0 deletions
7
.github/workflows/use-action.yaml
vendored
7
.github/workflows/use-action.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue