We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66bfaff commit da1212fCopy full SHA for da1212f
1 file changed
.github/workflows/build.yml
@@ -5,10 +5,20 @@ on: [push]
5
jobs:
6
publish:
7
runs-on: ubuntu-latest
8
- container:
9
- image: catthehacker/ubuntu:act-latest
+ permissions:
+ contents: read
10
+ packages: write
11
+ attestations: write
12
+ id-token: write
13
steps:
- - 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 }}
22
- name: Set up Docker Buildx
23
uses: https://github.com/docker/setup-buildx-action@v3
24
- name: Build and push Docker image
0 commit comments