File tree 2 files changed +51
-0
lines changed
2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for more information:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+ # https://containers.dev/guide/dependabot
6
+
7
+ version : 2
8
+ updates :
9
+ - package-ecosystem : " devcontainers"
10
+ directory : " /"
11
+ schedule :
12
+ interval : weekly
Original file line number Diff line number Diff line change
1
+ name : Docker build
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ docker :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout
12
+ uses : actions/checkout@v4
13
+ - name : Set up Docker Buildx
14
+ uses : docker/setup-buildx-action@v3
15
+ - name : Docker meta
16
+ id : meta
17
+ uses : docker/metadata-action@v5
18
+ with :
19
+ images : |
20
+ ghentcdh/dibe
21
+ tags : |
22
+ type=ref,event=branch
23
+ type=ref,event=pr
24
+ type=semver,pattern={{version}}
25
+ type=semver,pattern={{major}}.{{minor}}
26
+ type=semver,pattern={{major}}
27
+ - name : Login to Docker Hub
28
+ uses : docker/login-action@v3
29
+ with :
30
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
31
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
32
+ - name : Build and push
33
+ uses : docker/build-push-action@v5
34
+ with :
35
+ context : .
36
+ push : true
37
+ tags : ${{ steps.meta.outputs.tags }}
38
+ cache-from : type=registry,ref=ghentcdh/evwrit:buildcache
39
+ cache-to : type=registry,ref=ghentcdh/evwrit:buildcache,mode=max
You can’t perform that action at this time.
0 commit comments