Skip to content

Commit 291ce4f

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Gihub Actions] splitted in two jobs.
1 parent 4f04017 commit 291ce4f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/docker-image.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on: # yamllint disable-line rule:truthy
99
branches: ["main"]
1010

1111
env:
12-
IMAGE_NAME: ${{ env.IMAGE_NAME }}
12+
IMAGE_NAME: algorithm-exercises-js
1313

1414
jobs:
1515

@@ -25,6 +25,8 @@ jobs:
2525
uses: docker/build-push-action@v6
2626
with:
2727
context: .
28+
outputs: |
29+
type=docker,dest=/tmp/${{ env.IMAGE_NAME }}_${{ github.sha }}.tar
2830
tags: |
2931
${{ env.IMAGE_NAME }}:latest
3032
${{ env.IMAGE_NAME }}:${{ github.sha }}
@@ -34,13 +36,14 @@ jobs:
3436
with:
3537
name: ${{ env.IMAGE_NAME }}:${{ github.sha }}
3638
path: /tmp/${{ env.IMAGE_NAME }}_${{ github.sha }}.tar
37-
39+
# yamllint disable rule:comments-indentation
3840
# - name: Lint in Docker image
3941
# run: make compose/lint
4042
# - name: Test in Docker image
4143
# run: make compose/test
4244
# - name: Run in Docker image
4345
# run: make compose/run
46+
# yamllint enable rule:comments-indentation
4447

4548
scan:
4649
name: "Snyk Container"

0 commit comments

Comments
 (0)