We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dc94d8 commit 58ab9cfCopy full SHA for 58ab9cf
.github/workflows/ci-dev.yml
@@ -0,0 +1,37 @@
1
+name: dev-ci
2
+
3
+on:
4
+ - push
5
6
+jobs:
7
+ docker:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ -
11
+ name: Checkout
12
+ uses: actions/checkout@v3
13
+ with:
14
+ ref: ${{ github.head_ref }}
15
16
+ name: Docker meta
17
+ id: meta
18
+ uses: docker/metadata-action@v4
19
20
+ flavor: |
21
+ latest=false
22
+ images: |
23
+ vsyshost/shkeeper
24
+ tags: |
25
+ type=raw,value=dev-{{branch}}-{{sha}}
26
27
+ name: Login to Docker Hub
28
+ uses: docker/login-action@v2
29
30
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
31
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
32
33
+ name: Build and push
34
+ uses: docker/build-push-action@v4
35
36
+ push: true
37
+ tags: ${{ steps.meta.outputs.tags }}
0 commit comments