Skip to content

Commit

Permalink
include docker registry in action
Browse files Browse the repository at this point in the history
  • Loading branch information
feliciachang committed May 30, 2024
1 parent 65395cf commit 69b11f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@ runs:
JAMCR_PASS="${JAMSOCKET_API_TOKEN#*.}"
echo "JAMCR_PASS=$JAMCR_PASS" >> $GITHUB_ENV
- name: Log into registry ${{ env.REGISTRY }}
- name: Log into Jamsocket's Docker registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
registry: new.jamcr.io
username: ${{ env.JAMCR_USER }}
password: ${{ env.JAMCR_PASS }}

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ inputs.jamsocket_account }}/${{ inputs.jamsocket_service }}
images: new.jamcr.io/${{ inputs.jamsocket_account }}/${{ inputs.jamsocket_service }}
tags: |
type=raw,value=latest
Expand Down

0 comments on commit 69b11f2

Please sign in to comment.