Skip to content

Commit

Permalink
Adding a workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
st3fan committed Mar 29, 2020
1 parent f0da3fa commit 0000771
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Get the version
id: vars
run: echo ::set-output name=tag::$(echo ${GITHUB_REF:10})
- name: Build the tagged Docker image
run: docker build . --file Dockerfile --tag tss/tqs:${{steps.vars.outputs.tag}}

0 comments on commit 0000771

Please sign in to comment.