Skip to content

Commit

Permalink
Merge pull request #10 from nrkno/ci/github-actions-checkout
Browse files Browse the repository at this point in the history
ci: set persist-credentials to false for checkout action
  • Loading branch information
nytamin authored Jun 20, 2024
2 parents 583c3bd + 1d18027 commit f0a8c22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/container-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ on:
type=ref,event=branch
type=ref,event=tag
type=raw,value=latest,enable={{is_default_branch}}
jobs:
container-image-release:
Expand All @@ -46,8 +45,10 @@ jobs:
timeout-minutes: 15

steps:
- name: Check out repo
- name: Check out repo
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Create the image tags
id: image-tag
Expand Down Expand Up @@ -75,4 +76,3 @@ jobs:
provenance: false
labels: ${{ steps.image-tag.outputs.labels }}
tags: "${{ steps.image-tag.outputs.tags }}"

0 comments on commit f0a8c22

Please sign in to comment.