From 1a844187c13c9a3948ee7b30ff7007a656fd4c26 Mon Sep 17 00:00:00 2001 From: Sebastian Schmittner Date: Wed, 12 Aug 2020 13:24:59 +0200 Subject: [PATCH] added docker build workflow on release --- .github/workflows/dockerbuild.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/dockerbuild.yml diff --git a/.github/workflows/dockerbuild.yml b/.github/workflows/dockerbuild.yml new file mode 100644 index 0000000..f125c81 --- /dev/null +++ b/.github/workflows/dockerbuild.yml @@ -0,0 +1,19 @@ +name: Docker Build +on: + release: + types: [published] +jobs: + push_to_registry: + name: Push Docker image to GitHub Packages + runs-on: ubuntu-latest + steps: + - name: Check out the repo + uses: actions/checkout@v2 + - name: Push to GitHub Packages + uses: docker/build-push-action@v1 + with: + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + registry: docker.pkg.github.com + repository: RalphTro/epcis-event-hash-generator/epcis-hash + tag_with_ref: true