Skip to content

Commit

Permalink
fix(workflow): use environment file (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhabinka committed Nov 7, 2020
1 parent 438cc6a commit f1daf1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v2
- name: Set repository name
run: |
echo ::set-env name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}')
echo "REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}')" >> $GITHUB_ENV
- name: Build and push into docker hub
uses: docker/build-push-action@v1.1.0
with:
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Set fail Slack env vars
if: ${{ failure() }}
run: |
echo "::set-env name=SLACK_COLOR::#a30200"
echo "SLACK_COLOR=#a30200" >> $GITHUB_ENV
- name: Send notification into Slack
if: ${{ always() }}
uses: rtCamp/action-slack-notify@v2.0.0
Expand Down

0 comments on commit f1daf1f

Please sign in to comment.