From 68a4919489aaafbc2bf14c2d05fc740ab5a4e8e3 Mon Sep 17 00:00:00 2001 From: Aditya Kresna Date: Fri, 8 Nov 2024 17:35:13 +0700 Subject: [PATCH] kkcd-48: use github secrets for registry login --- .github/workflows/on-pr-merge.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/on-pr-merge.yml b/.github/workflows/on-pr-merge.yml index 75fdac7..e6af801 100644 --- a/.github/workflows/on-pr-merge.yml +++ b/.github/workflows/on-pr-merge.yml @@ -15,5 +15,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive + - uses: docker/login-action@v3 + with: + registry: ghcr.io/kamukirim + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build & Push All run: ./build.bash push