We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39eec4a commit 29a667aCopy full SHA for 29a667a
.github/workflows/dockerhub-ci.yml
@@ -5,6 +5,11 @@ on:
5
branches: [ dev ]
6
workflow_dispatch: null
7
8
+# Add permissions for the built-in GITHUB_TOKEN
9
+permissions:
10
+ contents: read
11
+ packages: write
12
+
13
# Ensures only the latest workflow run for the same branch is active, canceling any in-progress runs.
14
concurrency:
15
group: ${{ github.workflow }}-${{ github.ref }}
@@ -28,7 +33,7 @@ jobs:
28
33
with:
29
34
registry: ghcr.io
30
35
username: ${{ github.actor }}
31
- password: ${{ secrets.GHCR_TOKEN }}
36
+ password: ${{ secrets.GITHUB_TOKEN }} # Changed from GHCR_TOKEN
32
37
38
- name: Get release version
39
run: echo "COMPAS_VERSION=$(sed -n '/const std::string VERSION_STRING/,/^$/p' ./src/changelog.h | sed 's/.*"\(.*\)"[^"]*$/\1/')" >> $GITHUB_ENV
0 commit comments