Skip to content

Commit

Permalink
make image name two variables
Browse files Browse the repository at this point in the history
  • Loading branch information
feliciachang committed May 30, 2024
1 parent 8efa978 commit cc08a62
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ inputs:
jamsocket_api_token:
description: 'API Token for Jamsocket authentication'
required: true
image_name:
description: 'Name of the Docker image structured like so: JAMSOCKET_ACCOUNT_NAME/JAMSOCKET_SERVICE_NAME'
jamsocket_account:
description: 'Name of your Jamsocket account'
required: true
jamsocket_service:
description: 'Name of your Jamsocket service'
required: true
docker_build_context:
description: 'Path to the Docker build context'
Expand Down Expand Up @@ -45,7 +48,7 @@ runs:
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ inputs.image_name }}
images: ${{ env.REGISTRY }}/${{ inputs.jamsocket_account }}/${{ inputs.jamsocket_service }}
tags: |
type=raw,value=latest
Expand Down

0 comments on commit cc08a62

Please sign in to comment.