Skip to content

Commit

Permalink
Create docker-image.yml
Browse files Browse the repository at this point in the history
Automatically push docker image to GitHub Packages
  • Loading branch information
RobertMeissner authored Nov 10, 2020
1 parent 2eec371 commit 1fa8468
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Docker Image CI

on:
release:
types: [published]

jobs:

build:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build the Docker image
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: RMeissnerCC/metadata_picker/oeh-search-meta
tag_with_ref: true

0 comments on commit 1fa8468

Please sign in to comment.