Skip to content

Commit 2fbfc3f

Browse files
committed
Push to ghcr.io/appscodeci with docker/login-action
Signed-off-by: Tamal Saha <tamal@appscode.com>
1 parent 32bfd5c commit 2fbfc3f

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,15 @@ jobs:
3434
run: |
3535
make ci
3636
37+
- name: Login to GitHub Container Registry
38+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
39+
with:
40+
registry: ghcr.io
41+
username: 1gtm
42+
password: ${{ secrets.LGTM_GITHUB_TOKEN }}
43+
3744
- name: Build
3845
env:
3946
REGISTRY: ghcr.io/appscodeci
40-
DOCKER_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }}
41-
USERNAME: 1gtm
4247
run: |
43-
docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
4448
make push

0 commit comments

Comments
 (0)