Skip to content

Commit

Permalink
Use github.workspace for base action pathway, use secrets for docker …
Browse files Browse the repository at this point in the history
…token
  • Loading branch information
pflooky committed Jul 13, 2024
1 parent ed2410a commit cd84f34
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ inputs:
data_caterer_version:
description: 'Version of data-caterer Docker image'
default: '0.11.8'
docker_token:
description: 'Docker token for access to data caterer full version.'
default: ''

# Define your outputs here.
outputs:
Expand Down Expand Up @@ -68,7 +65,8 @@ runs:
run: 'node ${{github.action_path}}/dist/index.js'
id: 'insta-integration'
env:
CONFIGURATION_FILE: '/home/runner/work/${{ github.repository }}/${{ inputs.configuration_file }}'
INSTA_INFRA_FOLDER: '/home/runner/work/${{ github.repository }}/${{ inputs.insta_infra_folder }}'
BASE_FOLDER: '/home/runner/work/${{ github.repository }}'
CONFIGURATION_FILE: '${{ github.workspace }}/${{ inputs.configuration_file }}'
INSTA_INFRA_FOLDER: '${{ github.workspace }}/${{ inputs.insta_infra_folder }}'
BASE_FOLDER: '${{ github.workspace }}'
DATA_CATERER_VERSION: '${{ inputs.data_caterer_version }}'
DOCKER_TOKEN: '${{ secrets.docker_token }}'

0 comments on commit cd84f34

Please sign in to comment.