asd
Some checks failed
Main / Build arm64v8 image (push) Failing after 1m12s
Main / Push arm64v8 image (push) Has been skipped

This commit is contained in:
Chris Richardson
2025-07-10 18:26:50 -04:00
parent 208f30a208
commit b11206ea40
2 changed files with 33 additions and 35 deletions

View File

@@ -19,7 +19,7 @@ jobs:
contents: "read" contents: "read"
strategy: strategy:
matrix: matrix:
arch: ["native", "amd64", "arm64v8"] arch: ["arm64v8"]
steps: steps:
- name: "Checkout project" - name: "Checkout project"
uses: "actions/checkout@v4" uses: "actions/checkout@v4"
@@ -47,7 +47,7 @@ jobs:
contents: "read" contents: "read"
strategy: strategy:
matrix: matrix:
arch: ["amd64", "arm64v8"] arch: ["arm64v8"]
steps: steps:
- name: "Checkout project" - name: "Checkout project"
uses: "actions/checkout@v4" uses: "actions/checkout@v4"
@@ -59,40 +59,38 @@ jobs:
- name: "Login to Docker Hub" - name: "Login to Docker Hub"
uses: "docker/login-action@v3" uses: "docker/login-action@v3"
with: with:
registry: "docker.io" registry: "d.lilpenguins.com"
username: "${{ secrets.DOCKERHUB_USERNAME }}"
password: "${{ secrets.DOCKERHUB_TOKEN }}"
- name: "Load and push image" - name: "Load and push image"
run: | run: |
make "load-${{ matrix.arch }}-image" "push-${{ matrix.arch }}-image" make "load-${{ matrix.arch }}-image" "push-${{ matrix.arch }}-image"
push-manifest: # push-manifest:
name: "Push manifest" # name: "Push manifest"
if: "startsWith(github.ref, 'refs/tags/v')" # if: "startsWith(github.ref, 'refs/tags/v')"
needs: ["push"] # needs: ["push"]
runs-on: "ubuntu-latest" # runs-on: "ubuntu-latest"
permissions: # permissions:
contents: "read" # contents: "read"
steps: # steps:
- name: "Checkout project" # - name: "Checkout project"
uses: "actions/checkout@v4" # uses: "actions/checkout@v4"
- name: "Login to Docker Hub" # - name: "Login to Docker Hub"
uses: "docker/login-action@v3" # uses: "docker/login-action@v3"
with: # with:
registry: "docker.io" # registry: "docker.io"
username: "${{ secrets.DOCKERHUB_USERNAME }}" # username: "${{ secrets.DOCKERHUB_USERNAME }}"
password: "${{ secrets.DOCKERHUB_TOKEN }}" # password: "${{ secrets.DOCKERHUB_TOKEN }}"
- name: "Push manifest" # - name: "Push manifest"
run: | # run: |
make push-cross-manifest # make push-cross-manifest
publish-github-release: # publish-github-release:
name: "Publish GitHub release" # name: "Publish GitHub release"
if: "startsWith(github.ref, 'refs/tags/v')" # if: "startsWith(github.ref, 'refs/tags/v')"
needs: ["push-manifest"] # needs: ["push-manifest"]
runs-on: "ubuntu-latest" # runs-on: "ubuntu-latest"
permissions: # permissions:
contents: "write" # contents: "write"
steps: # steps:
- name: "Publish" # - name: "Publish"
uses: "hectorm/ghaction-release@066200d04c3549852afa243d631ea3dc93390f68" # uses: "hectorm/ghaction-release@066200d04c3549852afa243d631ea3dc93390f68"

View File

@@ -4,7 +4,7 @@ m4_changequote([[, ]])
## "build" stage ## "build" stage
################################################## ##################################################
m4_ifdef([[CROSS_ARCH]], [[FROM docker.io/CROSS_ARCH/ubuntu:24.04]], [[FROM docker.io/ubuntu:24.04]]) AS build m4_ifdef([[CROSS_ARCH]], [[FROM dtcooper/raspberrypi-os:latest]], [[FROM dtcooper/raspberrypi-os:latest]]) AS build
SHELL ["/bin/sh", "-euc"] SHELL ["/bin/sh", "-euc"]