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

This commit is contained in:
toast 2024-03-26 12:43:00 +11:00
parent 05c55b2b70
commit 01041ff3d8

View File

@ -9,6 +9,14 @@ jobs:
build:
runs-on: ubuntu-22.04-node
steps:
- name: "Add Cargo registry"
run: |
mkdir -p ~/.cargo && \
echo '[registries.gitea]' \
'index = "sparse+https://git.toast-server.net/api/packages/toast/cargo/"' \
'token = "Bearer ${{ secrets.CARGO_TOKEN }}"' >> ~/.cargo/config.toml
cat ~/.cargo/config.toml
- name: Set up Docker environment
run: |
apt update && apt upgrade -y && apt install -y apt-transport-https ca-certificates curl zstd gnupg lsb-release
@ -31,13 +39,6 @@ jobs:
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v3
- name: "Add Cargo registry"
run: |
mkdir -p ~/.cargo && \
echo '[registries.gitea]' \
'index = "sparse+https://git.toast-server.net/api/packages/toast/cargo/"' \
'token = "Bearer ${{ secrets.CARGO_TOKEN }}"' >> ~/.cargo/config.toml
- name: Build and push image
uses: https://github.com/docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
with: