Skip to content

Commit

Permalink
Create dockerimage.yml
Browse files Browse the repository at this point in the history
publish a new image on release
  • Loading branch information
ferras authored May 20, 2020
1 parent 35b5697 commit 430678f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Docker Image CI

on:
release:
branches: [ release-branch ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: build assets
working-directory: ${{ github.workspace }}
run: ls -la
- uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME_NETFLIX_OSS }}
password: ${{ secrets.DOCKER_AUTH_TOKEN_NETFLIX_OSS }}
repository: netflixoss/metaflow_metadata_service
tag_with_ref: true
tag_with_sha: true
dockerfile: ${{ github.workspace }}/Dockerfile

0 comments on commit 430678f

Please sign in to comment.