Skip to content

Commit

Permalink
create tag input
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavozampierizup committed Jun 11, 2024
1 parent 6744997 commit c66a101
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ inputs:
required: false
CONTAINER_URL:
description: "IAC Container url"
default: stackspot/runtime-job-iac
CONTAINER_TAG:
description: "IAC Container TAG"
default: latest
default: stackspot/runtime-job-iac:latest
runs:
using: "composite"
steps:
Expand Down Expand Up @@ -71,7 +68,7 @@ runs:
-e AWS_SESSION_TOKEN=${{ inputs.AWS_SESSION_TOKEN }} \
-e AWS_REGION=${{ inputs.AWS_REGION }} \
--entrypoint=/app/stackspot-runtime-job-iac \
${{ inputs.CONTAINER_URL }}:${{ inputs.CONTAINER_TAG }} start --run-task-id="${{ inputs.RUN_TASK_ID }}" --base-path-output="${{ inputs.BASE_PATH_OUTPUT }}"
${{ inputs.CONTAINER_URL }} start --run-task-id="${{ inputs.RUN_TASK_ID }}" --base-path-output="${{ inputs.BASE_PATH_OUTPUT }}"
shell: bash

- name: Run Runtime Action Iac
Expand All @@ -89,7 +86,7 @@ runs:
-e AWS_SESSION_TOKEN=${{ steps.aws-cred.outputs.aws-session-token }} \
-e AWS_REGION=${{ inputs.AWS_REGION }} \
--entrypoint=/app/stackspot-runtime-job-iac \
${{ inputs.CONTAINER_URL }}:${{ inputs.CONTAINER_TAG }} start --run-task-id="${{ inputs.RUN_TASK_ID }}" --base-path-output="${{ inputs.BASE_PATH_OUTPUT }}"
${{ inputs.CONTAINER_URL }} start --run-task-id="${{ inputs.RUN_TASK_ID }}" --base-path-output="${{ inputs.BASE_PATH_OUTPUT }}"
shell: bash

branding:
Expand Down

0 comments on commit c66a101

Please sign in to comment.