I guess?
Some checks failed
Build and push container image / build (push) Has been cancelled

This commit is contained in:
toast 2024-01-07 23:24:36 +11:00
parent 2fb6876384
commit 84743597fa

View File

@ -7,24 +7,16 @@ jobs:
build: build:
runs-on: ubuntu-22.04-node runs-on: ubuntu-22.04-node
steps: steps:
# - name: Setup Docker environment - name: Set up Docker environment
# run: | run: |
# apt update apt update
# apt install -y apt-transport-https ca-certificates curl gnupg lsb-release apt install -y apt-transport-https ca-certificates curl gnupg lsb-release
# curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
# echo \ echo \
# "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
# $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
# apt update apt update
# apt install -y docker-ce docker-ce-cli containerd.io apt install -y docker-ce docker-ce-cli containerd.io
- name: Setup QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3
- name: Setup Docker
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3
with:
platforms: linux/amd64
- name: Set up build cache - name: Set up build cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
@ -53,3 +45,9 @@ jobs:
tags: git.toast-server.net/toast/kon:main tags: git.toast-server.net/toast/kon:main
cache-from: type=registry,ref=git.toast-server.net/toast/kon:main cache-from: type=registry,ref=git.toast-server.net/toast/kon:main
cache-to: type=inline cache-to: type=inline
- name: Save build cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}