Skip to content

Commit 4e6a050

Browse files
authored
Update openinsight-release-packages.yaml
1 parent cc388b3 commit 4e6a050

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/openinsight-release-packages.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ jobs:
3636
if: github.repository == 'openinsight-proj/opentelemetry-collector-contrib'
3737
runs-on: ubuntu-latest
3838
permissions:
39-
contents: read
4039
packages: write
40+
contents: read
41+
attestations: write
42+
id-token: write
4143
timeout-minutes: 90
4244
steps:
4345
- uses: actions/checkout@v4
@@ -71,11 +73,11 @@ jobs:
7173
#if: steps.go-cache.outputs.cache-hit != 'true'
7274
run: make install-tools
7375
- name: Login to GitHub Package Registry
74-
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
76+
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
7577
with:
7678
registry: ghcr.io
77-
username: ${{ github.repository_owner }}
78-
password: ${{ secrets.ACTIONS_TOKEN_GHCR }}
79+
username: ${{ github.actor }}
80+
password: ${{ secrets.GITHUB_TOKEN }}
7981
- run: make genotelcontribcol
8082
- name: Build otel col contrib amd64
8183
run: GOOS=linux GOARCH=amd64 make otelcontribcol && cp ./bin/otelcontribcol_linux_amd64 ./cmd/otelcontribcol_linux_amd64

0 commit comments

Comments
 (0)