We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94c8290 commit d84079dCopy full SHA for d84079d
.github/workflows/docker-image.yml
@@ -0,0 +1,17 @@
1
+name: Docker Image CI
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: Build the Docker image
13
+ run: docker build . --file Dockerfile --tag ghcr.io/obengine/obidog:${{ github.event.release.tag_name }}
14
+ - name: Login to GHCR
15
+ run: echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io -u AngryAubergine --password-stdin
16
+ - name: Upload to GHCR
17
+ run: docker push ghcr.io/obengine/obidog:${{ github.event.release.tag_name }}
0 commit comments