Skip to content

Commit da1212f

Browse files
authored
Update build.yml
1 parent 66bfaff commit da1212f

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,20 @@ on: [push]
55
jobs:
66
publish:
77
runs-on: ubuntu-latest
8-
container:
9-
image: catthehacker/ubuntu:act-latest
8+
permissions:
9+
contents: read
10+
packages: write
11+
attestations: write
12+
id-token: write
1013
steps:
11-
- uses: https://github.com/actions/checkout@v4
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
- name: Log in to the Container registry
17+
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
18+
with:
19+
registry: "ghcr.io/${{github.repository}}"
20+
username: ${{ github.actor }}
21+
password: ${{ secrets.GITHUB_TOKEN }}
1222
- name: Set up Docker Buildx
1323
uses: https://github.com/docker/setup-buildx-action@v3
1424
- name: Build and push Docker image

0 commit comments

Comments
 (0)