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 f40610e commit bd629bfCopy full SHA for bd629bf
.github/workflows/docker-push.yml
@@ -0,0 +1,26 @@
1
+name: Docker
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout repository
12
+ uses: actions/checkout@v3
13
14
+ - name: Log into Docker registry
15
+ uses: docker/login-action@v1
16
+ with:
17
+ registry: docker.io
18
+ username: ${{ secrets.DOCKER_USERNAME }}
19
+ password: ${{ secrets.DOCKER_PASSWORD }}
20
21
+ - name: Build and push Docker image
22
+ uses: docker/build-push-action@v2
23
24
+ context: .
25
+ push: true
26
+ tags: ${{ github.repository }}:${{ github.sha }}
0 commit comments