Skip to content

Commit f8b05c8

Browse files
authored
Merge pull request #82 from bcgov/dev
chore: release
2 parents 56458dd + 36a573f commit f8b05c8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deploy-aggregator.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
create_release:
1919
# Only release on push to main
2020
if: (github.ref == 'refs/heads/main' && github.event_name == 'push')
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2123
runs-on: ubuntu-24.04
2224
permissions:
2325
contents: write
@@ -37,6 +39,8 @@ jobs:
3739
set-tag:
3840
needs: [create_release]
3941
if: always()
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4044
permissions:
4145
contents: read
4246
runs-on: ubuntu-latest
@@ -59,6 +63,8 @@ jobs:
5963
packages: write
6064
needs: set-tag
6165
if: always()
66+
env:
67+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6268
steps:
6369
- uses: actions/checkout@v4
6470
- name: Install CLI tools from OpenShift Mirror
@@ -75,7 +81,7 @@ jobs:
7581
with:
7682
registry: ${{ env.GITHUB_REGISTRY }}
7783
username: ${{ github.actor }}
78-
password: ${{ secrets.GITHUB_TOKEN }}
84+
password: ${{ env.GITHUB_TOKEN }}
7985

8086
- name: Extract metadata (tags, labels) for Docker
8187
id: meta

0 commit comments

Comments
 (0)