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 36199b3 commit b703bcdCopy full SHA for b703bcd
.github/workflows/build-and-push.yaml
@@ -0,0 +1,35 @@
1
+name: ci
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - 'master'
7
+ schedule:
8
+ # Daily
9
+ - cron: '0 0 * * *'
10
11
+jobs:
12
+ docker:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ -
16
+ name: Set up QEMU
17
+ uses: docker/setup-qemu-action@v2
18
19
+ name: Set up Docker Buildx
20
+ uses: docker/setup-buildx-action@v2
21
22
+ name: Login to Docker Hub
23
+ uses: docker/login-action@v2
24
+ with:
25
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
26
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
27
28
+ name: Build and push
29
+ uses: docker/build-push-action@v3
30
31
+ pull: true
32
+ push: true
33
+ tags: frolvlad/alpine-ocaml:latest
34
+ cache-from: type=registry,ref=frolvlad/alpine-ocaml:latest
35
+ cache-to: type=inline
0 commit comments