Skip to content

Commit

Permalink
Use env. prefix for variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaek committed Aug 18, 2020
1 parent b7a7496 commit 35530eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: sjaek/logstash-output-snmptrap
tags: ${LOGSTASH_VERSION}-${{steps.get_version.outputs.VERSION}}
tags: ${{ env.LOGSTASH_VERSION}}-${{steps.get_version.outputs.VERSION}}
push: ${{ startsWith(github.ref, 'refs/tags/') }}
labels: LOGSTASH_VERSION=${LOGSTASH_VERSION},PLUGIN_VERSION=${{steps.get_version.outputs.VERSION}}
build_args: LOGSTASH_VERSION=${LOGSTASH_VERSION},PLUGIN_VERSION=${{steps.get_version.outputs.VERSION}}
labels: LOGSTASH_VERSION=${{ env.LOGSTASH_VERSION }},PLUGIN_VERSION=${{steps.get_version.outputs.VERSION}}
build_args: LOGSTASH_VERSION=${{ env.LOGSTASH_VERSION }},PLUGIN_VERSION=${{steps.get_version.outputs.VERSION}}
env:
LOGSTASH_VERSION: 7.8.1

0 comments on commit 35530eb

Please sign in to comment.