Skip to content

Commit 065a974

Browse files
committed
Don't try this, it's not going to work
1 parent 5a3956f commit 065a974

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

.github/workflows/retag-image.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ jobs:
3333
retag-image:
3434
name: Retag image
3535
runs-on: ubuntu-latest
36-
permissions:
37-
contents: write
3836

3937
steps:
4038
- name: Install Crane
@@ -56,14 +54,3 @@ jobs:
5654
[[ -z "$tag" ]] && continue
5755
crane tag ${{ inputs.image }}@${{ inputs.digest }} "$tag"
5856
done
59-
60-
- name: Create git tag
61-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
62-
with:
63-
script: |
64-
github.rest.git.createRef({
65-
owner: context.repo.owner,
66-
repo: context.repo.repo,
67-
ref: 'refs/tags/${{ inputs.digest }}',
68-
sha: context.sha
69-
})

0 commit comments

Comments
 (0)