Skip to content

Commit fa64a2d

Browse files
authored
Revert "docker login action (#416)" (#457)
This reverts commit f34b73c.
1 parent 92ba117 commit fa64a2d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build-stubbornjava-web.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,13 @@ jobs:
7575
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
7676
run: ./gradlew build sonarqube --no-daemon --info
7777

78-
- name: Login to GitHub Container Registry
78+
# This should be switched to use ${{ github.actor }} and ${{ secrets.GITHUB_TOKEN }}
79+
- name: Login to GitHub Container Registry (ghcr.io)
7980
uses: docker/login-action@v1
8081
with:
8182
registry: ghcr.io
82-
username: ${{ github.actor }}
83-
password: ${{ secrets.GITHUB_TOKEN }}
83+
username: stubbornjava-ops
84+
password: ${{ secrets.SJ_OPS_GH_ACTION_CONTAINER_REGISTRY }}
8485

8586
- name: Branch name
8687
if: github.repository == 'StubbornJava/StubbornJava'

0 commit comments

Comments
 (0)