Skip to content

Commit

Permalink
try custom tag again
Browse files Browse the repository at this point in the history
  • Loading branch information
feliciachang committed Jun 27, 2024
1 parent 12811a7 commit 435b116
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/publish-to-jamsocket/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ inputs:
dockerfile_path:
description: 'Path to your Dockerfile'
required: true
docker_tag:
description: 'Custom tag for your Docker image'
required: false
default: 'latest'
runs:
using: 'composite'
steps:
Expand Down Expand Up @@ -50,7 +54,7 @@ runs:
with:
images: new.jamcr.io/${{ inputs.jamsocket_account }}/${{ inputs.jamsocket_service }}
tags: |
type=raw,value=latest
type=raw,value=${{ inputs.docker_tag }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
jamsocket_service: renaissance-earth
docker_build_context: ./server
dockerfile_path: ./server/Dockerfile.jamsocket
docker_tag: mycustomtag

# name: Test Publish to Jamsocket Action

Expand Down

0 comments on commit 435b116

Please sign in to comment.