File tree Expand file tree Collapse file tree 1 file changed +6
-28
lines changed Expand file tree Collapse file tree 1 file changed +6
-28
lines changed Original file line number Diff line number Diff line change @@ -7,31 +7,9 @@ name: Build and Push Docker image
7
7
- main
8
8
9
9
jobs :
10
- build-and-push :
11
- runs-on : ubuntu-latest
12
-
13
- steps :
14
- - name : Check out the repo
15
- uses : actions/checkout@v2
16
-
17
- - name : Log in to GitHub Container Registry
18
- run : >
19
- echo "${{ secrets.GITHUB_TOKEN }}"
20
- | docker login ghcr.io -u ${{ github.actor }} --password-stdin
21
-
22
- - name : Set up QEMU
23
- uses : docker/setup-qemu-action@v2
24
-
25
- - name : Set up Docker Buildx
26
- uses : docker/setup-buildx-action@v2
27
-
28
- - name : Build and push Docker image
29
- uses : docker/build-push-action@v3
30
- with :
31
- context : .
32
- push : true
33
- tags : ghcr.io/${{ github.repository }}:latest
34
-
35
- - name : Log out from GitHub Container Registry
36
- if : always()
37
- run : docker logout ghcr.io
10
+ build :
11
+ name : Build and push docker image
12
+ uses : ls1intum/.github/.github/workflows/build-and-push-docker-image.yml@main
13
+ with :
14
+ image-name : ghcr.io/ls1intum/storage-benchmarking
15
+ docker-file : ./Dockerfile
You can’t perform that action at this time.
0 commit comments