Skip to content

Commit

Permalink
try original
Browse files Browse the repository at this point in the history
  • Loading branch information
feliciachang committed Jun 27, 2024
1 parent d332312 commit 12811a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
6 changes: 1 addition & 5 deletions .github/actions/publish-to-jamsocket/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ 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 @@ -54,7 +50,7 @@ runs:
with:
images: new.jamcr.io/${{ inputs.jamsocket_account }}/${{ inputs.jamsocket_service }}
tags: |
type=raw,value=${{ inputs.docker_tag }}
type=raw,value=latest
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:
- name: Use the local Publish to Jamsocket Action
uses: ./.github/actions/publish-to-jamsocket
with:
JAMSOCKET_API_TOKEN: ${{ secrets.JAMSOCKET_API_TOKEN }}
IMAGE_NAME: testaccount/testservice
DOCKER_BUILD_CONTEXT: ./server
DOCKERFILE_PATH: ./server/Dockerfile.jamsocket
jamsocket_api_token: ${{ secrets.JAMSOCKET_API_TOKEN }}
jamsocket_account: ffeliciachang
jamsocket_service: renaissance-earth
docker_build_context: ./server
dockerfile_path: ./server/Dockerfile.jamsocket

# name: Test Publish to Jamsocket Action

Expand Down

0 comments on commit 12811a7

Please sign in to comment.