From edc0a7d7d96a2d810f389646b5c7d824c7ba7955 Mon Sep 17 00:00:00 2001 From: Siratee K Date: Mon, 15 May 2023 11:45:37 +0700 Subject: [PATCH] chore: Update workflow file --- .github/workflows/build-and-release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 1e87df8..118a8a4 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -52,12 +52,12 @@ jobs: ssh-private-key: ${{ secrets.SSH_COMMON_GO_PRIVATE_KEY }} # Login to DockerHub by using the credentials. - - name: Login to GitHub Container Registry + - name: Login to MyHouses Image Registry uses: docker/login-action@v2 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + registry: cr.myhouses.cloud + username: ${{ secrets.MYHOUSES_REGISTRY_USERNAME }} + password: ${{ secrets.MYHOUSES_REGISTRY_PASSWORD }} - name: Mount a fake secret file run: | @@ -77,7 +77,7 @@ jobs: with: context: . push: true - tags: ${{ format('ghcr.io/garnbarn/garnbarn-frontend-revise:{0}', needs.release-on-github.outputs.newTag) }},ghcr.io/garnbarn/garnbarn-frontend-revise:latest + tags: ${{ format('cr.myhouses.cloud/ku-security/garnbarn-frontend-revise:{0}', needs.release-on-github.outputs.newTag) }},cr.myhouses.cloud/ku-security/garnbarn-frontend-revise:latest github-token: ${{ secrets.GITHUB_TOKEN }} platforms: | linux/amd64