From fe571093588191c126fae1172d01ec60de3fa4d7 Mon Sep 17 00:00:00 2001 From: Gerardo Navarro Suarez Date: Mon, 8 Feb 2021 07:40:48 +0100 Subject: [PATCH] Create publish_docker.yml --- .github/workflows/publish_docker.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/publish_docker.yml diff --git a/.github/workflows/publish_docker.yml b/.github/workflows/publish_docker.yml new file mode 100644 index 00000000..f44a2c00 --- /dev/null +++ b/.github/workflows/publish_docker.yml @@ -0,0 +1,22 @@ +name: Publish Docker image + +on: + workflow_dispatch: + # 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.GH_CONTAINER_REGISTRY_PERSONAL_ACCESS_TOKEN }} + registry: ghcr.io + repository: mindwendel/mindwendel/mindwendel_github_workflow + tag_with_ref: true