Skip to content

Commit f34b73c

Browse files
authored
docker login action (#416)
1 parent 4253d9a commit f34b73c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,12 @@ jobs:
6363
- name: Build with Gradle
6464
run: ./gradlew build --no-daemon
6565

66-
# This should be switched to use ${{ github.actor }} and ${{ secrets.GITHUB_TOKEN }}
67-
- name: Login to GitHub Container Registry (ghcr.io)
66+
- name: Login to GitHub Container Registry
6867
uses: docker/login-action@v1
6968
with:
7069
registry: ghcr.io
71-
username: stubbornjava-ops
72-
password: ${{ secrets.SJ_OPS_GH_ACTION_CONTAINER_REGISTRY }}
70+
username: ${{ github.actor }}
71+
password: ${{ secrets.GITHUB_TOKEN }}
7372

7473
- name: Branch name
7574
if: github.repository == 'StubbornJava/StubbornJava'

0 commit comments

Comments
 (0)