modify action workflows

This commit is contained in:
Amruth Pillai
2024-05-03 14:04:20 +02:00
parent 470f187c0b
commit 5e32673358
2 changed files with 4 additions and 6 deletions

View File

@ -14,11 +14,11 @@ permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
env:
NX_BRANCH: ${{ github.event.number || github.ref_name }}
NX_BRANCH: "${{ github.event.number || github.ref_name }}"
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
jobs:

View File

@ -7,7 +7,7 @@ on:
- "*"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
env:
@ -21,7 +21,7 @@ jobs:
version: ${{ steps.version.outputs.version }}
strategy:
fail-fast: false
fail-fast: true
matrix:
platform:
- linux/amd64
@ -68,8 +68,6 @@ jobs:
id: build
with:
context: .
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.IMAGE }},push-by-digest=true,name-canonical=true,push=true