Skip to content

Commit

Permalink
Update releases.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
erebe authored Apr 20, 2020
1 parent 4bc5f9b commit 843f8e1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,15 @@ jobs:
bodyFile: ""
token: ${{ secrets.GITHUB_TOKEN }}

- name: Get release version
id: get_version
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})

- name: Publish to Registry
uses: HurricanKai/Publish-Docker-Github-Action@master
with:
name: criteord/cassandra_exporter
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
dockerfile: docker/Dockerfile
tag_names: true
tags: "latest,${{ env.RELEASE_VERSION }}"

0 comments on commit 843f8e1

Please sign in to comment.