File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ on: # yamllint disable-line rule:truthy
9
9
branches : ["main"]
10
10
11
11
env :
12
- IMAGE_NAME : ${{ env.IMAGE_NAME }}
12
+ IMAGE_NAME : algorithm-exercises-js
13
13
14
14
jobs :
15
15
@@ -20,11 +20,14 @@ jobs:
20
20
21
21
steps :
22
22
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
23
-
23
+ - name : Set up Docker Buildx
24
+ uses : docker/setup-buildx-action@v3
24
25
- name : Build and push
25
26
uses : docker/build-push-action@v6
26
27
with :
27
28
context : .
29
+ outputs : |
30
+ type=docker,dest=/tmp/${{ env.IMAGE_NAME }}_${{ github.sha }}.tar
28
31
tags : |
29
32
${{ env.IMAGE_NAME }}:latest
30
33
${{ env.IMAGE_NAME }}:${{ github.sha }}
@@ -34,13 +37,14 @@ jobs:
34
37
with :
35
38
name : ${{ env.IMAGE_NAME }}:${{ github.sha }}
36
39
path : /tmp/${{ env.IMAGE_NAME }}_${{ github.sha }}.tar
37
-
40
+ # yamllint disable rule:comments-indentation
38
41
# - name: Lint in Docker image
39
42
# run: make compose/lint
40
43
# - name: Test in Docker image
41
44
# run: make compose/test
42
45
# - name: Run in Docker image
43
46
# run: make compose/run
47
+ # yamllint enable rule:comments-indentation
44
48
45
49
scan :
46
50
name : " Snyk Container"
You can’t perform that action at this time.
0 commit comments