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 19520da commit 2eae7b6Copy full SHA for 2eae7b6
.github/workflows/ci.yaml
@@ -12,7 +12,7 @@ env:
12
REGISTRY: docker.io
13
DOCKER_USERNAME: argentinaluiz
14
IMAGE_NAME: argentinaluiz/docker-prod-test
15
-
+ SHA: ${{ github.event.pull_request.head.sha || github.event.after }}
16
jobs:
17
ci:
18
@@ -53,4 +53,17 @@ jobs:
53
- name: Run tests
54
run: echo "Running tests..."
55
56
+ - name: Build for analysis
57
+ id: build-for-analysis
58
+ uses: docker/[email protected]
59
+ with:
60
+ context: ./src/ci/nestjs-project
61
+ file: ./src/ci/nestjs-project/Dockerfile.prod
62
+ push: false
63
+ load: true
64
+ tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.SHA }}
65
+ cache-from: type=gha
66
+ cache-to: type=gha,mode=max
67
+ secrets: |
68
+ github_token=${{ secrets.MY_GITHUB_TOKEN }}
69
+
0 commit comments