Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Timo committed Jun 11, 2020
2 parents 346e9a6 + 04148a1 commit 301cd65
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/devDocker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish Dev Docker
on:
push:
branches:
- 'dev'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Workflow run cleanup action
uses: rokroskar/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@master
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: denbicloud/os_project_usage_exporter
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
dockerfile: Dockerfile
tags: "dev"
22 changes: 22 additions & 0 deletions .github/workflows/releaseDocker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Create Release Image
on:
push:
tags:
- '*'
jobs:
build_release:
runs-on: ubuntu-latest

steps:
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- uses: actions/checkout@master
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: denbicloud/os_project_usage_exporter
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
dockerfile: Dockerfile
tags: ${{ steps.get_version.outputs.VERSION }}

0 comments on commit 301cd65

Please sign in to comment.