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

Commit

Permalink
Merge pull request #79 from teodor-pripoae/fix-docker-build-tag-name
Browse files Browse the repository at this point in the history
Fix docker build tag name
  • Loading branch information
teodor-pripoae authored Jul 30, 2020
2 parents a3d6c49 + d1ba042 commit 8a45566
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 8a45566

Please sign in to comment.