Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f8d928eaa4 | |||
| 5d7baa9b34 | |||
| e26eab87e5 |
@@ -81,42 +81,9 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# build-amd64:
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# outputs:
|
|
||||||
# digest: ${{ steps.build.outputs.digest }}
|
|
||||||
# steps:
|
|
||||||
# - name: Check out code
|
|
||||||
# uses: actions/checkout@v6
|
|
||||||
|
|
||||||
# - name: Download artifact
|
build-amd64:
|
||||||
# if: ${{ inputs.artifact-name != '' }}
|
runs-on: ubuntu-latest
|
||||||
# uses: actions/download-artifact@v7
|
|
||||||
# with:
|
|
||||||
# name: ${{ inputs.artifact-name }}
|
|
||||||
# path: ${{ inputs.artifact-path }}
|
|
||||||
|
|
||||||
# - name: Docker build
|
|
||||||
# id: build
|
|
||||||
# uses: ./build-and-push
|
|
||||||
# with:
|
|
||||||
# oci-registry: ${{ inputs.oci-registry }}
|
|
||||||
# oci-registry-username: ${{ secrets.OCI_REGISTRY_USERNAME }}
|
|
||||||
# oci-registry-password: ${{ secrets.OCI_REGISTRY_PASSWORD }}
|
|
||||||
# repository: ${{ inputs.repository }}
|
|
||||||
# image: ${{ inputs.image }}
|
|
||||||
# tag: ${{ inputs.tag }}
|
|
||||||
# platform: linux/amd64
|
|
||||||
# context: ${{ inputs.context }}
|
|
||||||
# dockerfile: ${{ inputs.dockerfile }}
|
|
||||||
# build-args: ${{ inputs.build-args }}
|
|
||||||
# target: ${{ inputs.target }}
|
|
||||||
# secrets: ${{ inputs.secrets }}
|
|
||||||
# secret-envs: ${{ inputs.secret-envs }}
|
|
||||||
# push-by-digest: true
|
|
||||||
|
|
||||||
build-arm64:
|
|
||||||
runs-on: ubuntu-24.04-arm
|
|
||||||
outputs:
|
outputs:
|
||||||
digest: ${{ steps.build.outputs.digest }}
|
digest: ${{ steps.build.outputs.digest }}
|
||||||
steps:
|
steps:
|
||||||
@@ -132,7 +99,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Docker build
|
- name: Docker build
|
||||||
id: build
|
id: build
|
||||||
uses: ./build-and-push
|
uses: https://gitea.ldpt.fr/actions/docker/build-and-push@main
|
||||||
with:
|
with:
|
||||||
oci-registry: ${{ inputs.oci-registry }}
|
oci-registry: ${{ inputs.oci-registry }}
|
||||||
oci-registry-username: ${{ secrets.OCI_REGISTRY_USERNAME }}
|
oci-registry-username: ${{ secrets.OCI_REGISTRY_USERNAME }}
|
||||||
@@ -140,7 +107,7 @@ jobs:
|
|||||||
repository: ${{ inputs.repository }}
|
repository: ${{ inputs.repository }}
|
||||||
image: ${{ inputs.image }}
|
image: ${{ inputs.image }}
|
||||||
tag: ${{ inputs.tag }}
|
tag: ${{ inputs.tag }}
|
||||||
platform: linux/arm64
|
platform: linux/amd64
|
||||||
context: ${{ inputs.context }}
|
context: ${{ inputs.context }}
|
||||||
dockerfile: ${{ inputs.dockerfile }}
|
dockerfile: ${{ inputs.dockerfile }}
|
||||||
build-args: ${{ inputs.build-args }}
|
build-args: ${{ inputs.build-args }}
|
||||||
|
|||||||
Reference in New Issue
Block a user