Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f8d928eaa4 | |||
| 5d7baa9b34 | |||
| e26eab87e5 |
@@ -81,42 +81,9 @@ on:
|
||||
required: true
|
||||
|
||||
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
|
||||
# if: ${{ inputs.artifact-name != '' }}
|
||||
# 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
|
||||
build-amd64:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
digest: ${{ steps.build.outputs.digest }}
|
||||
steps:
|
||||
@@ -132,7 +99,7 @@ jobs:
|
||||
|
||||
- name: Docker build
|
||||
id: build
|
||||
uses: ./build-and-push
|
||||
uses: https://gitea.ldpt.fr/actions/docker/build-and-push@main
|
||||
with:
|
||||
oci-registry: ${{ inputs.oci-registry }}
|
||||
oci-registry-username: ${{ secrets.OCI_REGISTRY_USERNAME }}
|
||||
@@ -140,7 +107,7 @@ jobs:
|
||||
repository: ${{ inputs.repository }}
|
||||
image: ${{ inputs.image }}
|
||||
tag: ${{ inputs.tag }}
|
||||
platform: linux/arm64
|
||||
platform: linux/amd64
|
||||
context: ${{ inputs.context }}
|
||||
dockerfile: ${{ inputs.dockerfile }}
|
||||
build-args: ${{ inputs.build-args }}
|
||||
|
||||
Reference in New Issue
Block a user