Skip to content

Commit 640269e

Browse files
committed
added ghcr token and took out useless stuff
1 parent 60adc43 commit 640269e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/push-docker-image.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ env:
99
REGISTRY: ghcr.io
1010
# github.repository as <account>/<repo>
1111
IMAGE_NAME: ${{ github.repository }}
12+
username: ${{ secrets.USERNAME }}
13+
password: ${{ secrets.GHCR_TOKEN }}
1214

1315

1416
jobs:
@@ -20,7 +22,7 @@ jobs:
2022
uses: actions/checkout@v4
2123

2224

23-
# Login against a Docker registry except on PR
25+
# Login against a Docker registry
2426
- name: Log into registry ${{ env.REGISTRY }}
2527
if: github.event_name != 'pull_request'
2628
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0

0 commit comments

Comments
 (0)