Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit 657bd3f

Browse files
author
Chris Wiechmann
authored
Update traffic-monitor-api.yml
1 parent fd2a08b commit 657bd3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/traffic-monitor-api.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,15 @@ jobs:
5858

5959
steps:
6060
- uses: actions/checkout@v2
61+
- name: Get release version
62+
id: get_version
63+
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
6164
- name: Publish Docker image
6265
uses: elgohr/Publish-Docker-Github-Action@2.13
6366
with:
6467
name: cwiechmann/elk-traffic-monitor-api
6568
workdir: ${{env.workingDirectory}}
6669
username: ${{ secrets.DOCKER_USERNAME }}
6770
password: ${{ secrets.DOCKER_PASSWORD }}
68-
snapshot: true
71+
tags: "latest,${{ env.RELEASE_VERSION }}"
6972

0 commit comments

Comments
 (0)