Skip to content

Commit

Permalink
Merge pull request #937 from datacite/actions-2-patch
Browse files Browse the repository at this point in the history
Set ENV in github action config, not at the shell
  • Loading branch information
jrhoads authored Mar 20, 2023
2 parents 1c8b47e + 73bf3ec commit 25e6b4e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/_update_terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:
jobs:
update:
runs-on: ubuntu-latest
env:
GIT_SHA: ${{ github.sha }}
GIT_TAG: ${{ inputs.image_tag }}
steps:
- name: Checkout terraform config repo
uses: actions/checkout@v3
Expand All @@ -26,8 +29,6 @@ jobs:
persist-credentials: false
- name: Setup dokerize and template parameters
run: |
export GIT_SHA=${{ github.sha }}
export GIT_TAG=${{ inputs.image_tag }}
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
wget https://github.com/jwilder/dockerize/releases/download/v0.6.0/dockerize-linux-amd64-v0.6.0.tar.gz
Expand Down

0 comments on commit 25e6b4e

Please sign in to comment.