Test 5
Some checks failed
Build Docker Image / Build ARM64 (3.10) (push) Successful in 1m26s
Build Docker Image / Create Multi-arch Manifest (3.10) (push) Failing after 0s

This commit is contained in:
2024-12-10 21:25:45 +02:00
parent a1bb9a6ee3
commit 32dbd4cc5d

View File

@@ -49,51 +49,54 @@ jobs:
# provenance: false
# outputs: type=image,name=gitea.technocloud.ee/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }},push-by-digest=true
# build-arm64:
# runs-on: ubuntu-latest
# name: Build ARM64
# container:
# image: catthehacker/ubuntu:act-latest
# env:
# DOCKER_ORG: technocloud-public
# RUNNER_TOOL_CACHE: /toolcache
# strategy:
# matrix:
# python-version: ['3.10']
# outputs:
# arm64-digest-${{ matrix.python-version }}: ${{ steps.build.outputs.digest }}
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# github-server-url: https://gitea.technocloud.ee
# - name: Set up Docker BuildX
# uses: docker/setup-buildx-action@v3
# with:
# platforms: linux/arm64
# - name: Login to DockerHub
# uses: docker/login-action@v3
# with:
# registry: gitea.technocloud.ee
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
# - name: Get Meta
# id: meta
# run: |
# echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
# - name: Build and Push ARM64
# id: build
# uses: docker/build-push-action@v5
# with:
# context: .
# file: Dockerfile.python${{ matrix.python-version }}
# platforms: linux/arm64
# push: true
# provenance: false
# outputs: type=image,name=gitea.technocloud.ee/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }},push-by-digest=true
build-arm64:
runs-on: ubuntu-latest
name: Build ARM64
container:
image: catthehacker/ubuntu:act-latest
env:
DOCKER_ORG: technocloud-public
RUNNER_TOOL_CACHE: /toolcache
strategy:
matrix:
python-version: ['3.10']
outputs:
arm64-digest-${{ matrix.python-version }}: ${{ steps.build.outputs.digest }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
github-server-url: https://gitea.technocloud.ee
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v3
with:
platforms: linux/arm64
- name: Login to DockerHub
uses: docker/login-action@v3
with:
registry: gitea.technocloud.ee
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Get Meta
id: meta
run: |
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
- name: Build and Push ARM64
id: build
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile.python${{ matrix.python-version }}
platforms: linux/arm64
push: true
provenance: false
outputs: type=image,name=gitea.technocloud.ee/${{ env.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }},push-by-digest=true
- name: Summarize the Docker digest
run: |
echo 'Digest: ${{ steps.build-docker.outputs.digest }}'
create-manifest:
# needs: [build-arm64]
needs: [build-arm64]
runs-on: ubuntu-latest
name: Create Multi-arch Manifest
env: