Skip to content

Commit

Permalink
fix: workflow permissions and add gitattributes
Browse files Browse the repository at this point in the history
Signed-off-by: K.B.Dharun Krishna <[email protected]>
  • Loading branch information
kbdharun committed May 3, 2024
1 parent 845fc93 commit eaf3c6c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
6 changes: 5 additions & 1 deletion .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Image
on:
push:
branches: [ "main" ]
paths:
- recipe.yml
- .github/workflows/image.yml
workflow_dispatch:

env:
Expand All @@ -15,6 +18,7 @@ jobs:
permissions:
id-token: write
contents: read
packages: write
attestations: write

steps:
Expand All @@ -38,7 +42,7 @@ jobs:

- name: Rename Containerfile to Dockerfile
run: mv Containerfile Dockerfile

- name: Build and push image
id: push-ghcr
uses: docker/[email protected]
Expand Down
File renamed without changes.

0 comments on commit eaf3c6c

Please sign in to comment.