Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Commit

Permalink
Fix docker build tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
teodor-pripoae committed Jul 30, 2020
1 parent a3d6c49 commit d1ba042
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,24 @@ name: Publish Docker
on:
push:
tags:
- "*"
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set tag name
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
env:
OVFTOOL_LOCATION: ${{secrets.OVFTOOL_LOCATION}}
KONFIGADM_VERSION: ${{ steps.vars.outputs.tag }}
with:
name: flanksource/konfigadm
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tag_names: true
snapshot: true
buildargs: OVFTOOL_LOCATION
buildargs: OVFTOOL_LOCATION, KONFIGADM_VERSION

0 comments on commit d1ba042

Please sign in to comment.