Skip to content

Commit

Permalink
chore: Update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
sirateek committed May 15, 2023
1 parent 4af4cb3 commit edc0a7d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit edc0a7d

Please sign in to comment.