Skip to content

Commit

Permalink
check original version
Browse files Browse the repository at this point in the history
  • Loading branch information
feliciachang committed Jun 27, 2024
1 parent 671c462 commit d332312
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
29 changes: 15 additions & 14 deletions .github/actions/publish-to-jamsocket/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,22 @@ runs:
username: ${{ env.JAMCR_USER }}
password: ${{ env.JAMCR_PASS }}

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: new.jamcr.io/${{ inputs.jamsocket_account }}/${{ inputs.jamsocket_service }}
tags: |
type=raw,value=${{ inputs.docker_tag || 'latest' }}
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: new.jamcr.io/${{ inputs.jamsocket_account }}/${{ inputs.jamsocket_service }}
tags: |
type=raw,value=${{ inputs.docker_tag }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: ${{ inputs.docker_build_context }}
file: ${{ inputs.dockerfile_path }}
push: true
tags: new.jamcr.io/${{ inputs.jamsocket_account }}/${{ inputs.jamsocket_service }}:${{ inputs.docker_tag || 'latest' }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: ${{ inputs.docker_build_context }}
file: ${{ inputs.dockerfile_path }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

branding:
icon: 'check-circle'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
IMAGE_NAME: testaccount/testservice
DOCKER_BUILD_CONTEXT: ./server
DOCKERFILE_PATH: ./server/Dockerfile.jamsocket
DOCKER_TAG: mycustomtag

# name: Test Publish to Jamsocket Action

Expand Down

0 comments on commit d332312

Please sign in to comment.