Skip to content

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gseidel committed May 2, 2022
1 parent a644ad5 commit fc7fd6f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release

on:
push:
tags:
- 'v*.*'

jobs:
release:
runs-on: ubuntu-20.04
steps:
- name: login
uses: docker/login-action@v1
with:
registry: docker.enhavo.com
username: ${{ secrets.DOCKER_ENHAVO_USER }}
password: ${{ secrets.DOCKER_ENHAVO_PASSWORD }}
- name: build and push image
uses: docker/build-push-action@v2
with:
push: true
tags: |
docker.enhavo.com/enhavo/demo:latest

0 comments on commit fc7fd6f

Please sign in to comment.