summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/docker.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
new file mode 100644
index 0000000..c7b170b
--- /dev/null
+++ b/.github/workflows/docker.yml
@@ -0,0 +1,23 @@
+on:
+ push:
+ branches:
+ - python
+
+name: "Publish Docker Image"
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout Code
+ uses: actions/checkout@master
+ - name: Publish Docker image
+ uses: docker/build-push-action@v1
+ with:
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+ registry: docker.pkg.github.com
+ repository: romangraef/herrschwarzify/python
+ tag_with_ref: true
+ tags: latest
+