Update workflow [stage]
This commit is contained in:
@@ -51,11 +51,12 @@ jobs:
|
|||||||
latest=${{ contains(github.event.head_commit.message, '[release]') == true }}
|
latest=${{ contains(github.event.head_commit.message, '[release]') == true }}
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=${{ env.XPIPE_TAG }}
|
type=raw,value=${{ env.XPIPE_TAG }}
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image (amd64)
|
||||||
id: push
|
id: push
|
||||||
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
|
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
@@ -63,7 +64,22 @@ jobs:
|
|||||||
"XPIPE_VERSION=${{ env.XPIPE_VERSION }}"
|
"XPIPE_VERSION=${{ env.XPIPE_VERSION }}"
|
||||||
"XPIPE_REPOSITORY=${{ env.XPIPE_REPOSITORY }}"
|
"XPIPE_REPOSITORY=${{ env.XPIPE_REPOSITORY }}"
|
||||||
"XPIPE_PACKAGE=${{ env.XPIPE_PACKAGE }}"
|
"XPIPE_PACKAGE=${{ env.XPIPE_PACKAGE }}"
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64
|
||||||
|
- name: Build and push Docker image (arm64)
|
||||||
|
id: push
|
||||||
|
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: ./Dockerfile.aarch64
|
||||||
|
push: true
|
||||||
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
build-args: |
|
||||||
|
"XPIPE_VERSION=${{ env.XPIPE_VERSION }}"
|
||||||
|
"XPIPE_REPOSITORY=${{ env.XPIPE_REPOSITORY }}"
|
||||||
|
"XPIPE_PACKAGE=${{ env.XPIPE_PACKAGE }}"
|
||||||
|
platforms: linux/arm64
|
||||||
|
if: contains(github.event.head_commit.message, '[release]')
|
||||||
- name: Generate artifact attestation
|
- name: Generate artifact attestation
|
||||||
uses: actions/attest-build-provenance@v1
|
uses: actions/attest-build-provenance@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user