Skip to content

Commit 5706016

Browse files
committed
chore(ci): publish to self
1 parent a89249b commit 5706016

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,15 +213,11 @@ jobs:
213213
files: release/*
214214
fail_on_unmatched_files: true
215215
draft: true
216-
repository: edgeandnode/amp
217-
token: ${{ secrets.PUBLISH_RELEASE_TOKEN }}
218216

219217
- name: Finalize release
220218
uses: softprops/action-gh-release@6cbd405e2c4e67a21c47fa9e383d020e4e28b836 # v2
221219
with:
222220
draft: false
223-
repository: edgeandnode/amp
224-
token: ${{ secrets.PUBLISH_RELEASE_TOKEN }}
225221

226222
containerize:
227223
name: Containerize (${{ matrix.title }})
@@ -264,7 +260,7 @@ jobs:
264260
with:
265261
registry: ghcr.io
266262
username: ${{ github.actor }}
267-
password: ${{ secrets.GITHUB_TOKEN }}
263+
password: ${{ github.token }}
268264

269265
- name: Set up Docker Buildx
270266
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
@@ -274,7 +270,6 @@ jobs:
274270
id: metadata
275271
with:
276272
images: ghcr.io/edgeandnode/${{ matrix.name }}
277-
github-token: ${{ secrets.GITHUB_TOKEN }}
278273
tags: |
279274
type=raw,value=latest,enable={{is_default_branch}}
280275
type=ref,event=tag

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
- name: Run ampup tests
134134
run: just test-ampup --verbose
135135
env:
136-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
136+
GITHUB_TOKEN: ${{ github.token }}
137137

138138
rustfmt:
139139
name: Check rustfmt style

0 commit comments

Comments
 (0)