Fullsend it, I guess?
Some checks failed
Build and push container image / build (push) Failing after 1s

This commit is contained in:
toast 2024-01-07 23:17:49 +11:00
parent 7ca14fcf37
commit ab99d4c802

View File

@ -7,18 +7,26 @@ jobs:
build:
runs-on: ubuntu-22.04-node
steps:
- name: Setup Docker environment
run: |
apt update
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
echo \
"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
apt update
apt install -y docker-ce docker-ce-cli containerd.io
# - name: Setup Docker environment
# run: |
# apt update
# 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
# echo \
# "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
# apt update
# apt install -y docker-ce docker-ce-cli containerd.io
- name: Setup the build cache
- name: Setup QEMU
uses: docker/setup-qemu-action # v3
- name: Setup Docker
uses: docker/setup-buildx-action # v3
with:
platforms: linux/amd64
- name: Setup build cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
with:
path: /tmp/.buildx-cache