From 1fa8468c0588c1cb4d188e8a58d57b3def762c36 Mon Sep 17 00:00:00 2001 From: RMeissnerCC <50482279+RMeissnerCC@users.noreply.github.com> Date: Tue, 10 Nov 2020 11:09:34 +0100 Subject: [PATCH] Create docker-image.yml Automatically push docker image to GitHub Packages --- .github/workflows/docker-image.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..7eb5d77 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -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