From 41c7006c45a1c72563c92e61e9b74de02142a016 Mon Sep 17 00:00:00 2001 From: Billy Brawner Date: Sat, 20 Feb 2021 06:59:20 -0700 Subject: [PATCH] Create docker-image.yml --- .github/workflows/docker-image.yml | 19 +++++++++++++++++++ 1 file changed, 19 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..0ddb31d --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,19 @@ +name: Publish Docker image +on: + release: + types: [created] +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: wbrawner/twigs-web/twigs-web + tag_with_ref: true