Files
Matthew Pomes fff50ab102
Some checks failed
publish / docker (push) Failing after 5m25s
Add MUSL varients of rustup container
2025-10-04 16:17:45 -05:00

65 lines
1.9 KiB
YAML

name: publish
on:
push:
branches: main
jobs:
docker:
runs-on: ubuntu-latest
steps:
# - run: sh -c 'curl -sSL https://get.docker.com/ | sh'
- uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: gitea.loadingm.xyz
username: "the10thwiz"
password: ${{ secrets.PACKAGE_TOKEN }}
# -
# name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# -
# name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
build-args: TOOLCHAIN=stable
file: 'rustup/Dockerfile'
tags: gitea.loadingm.xyz/the10thwiz/rustup:stable
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
build-args: TOOLCHAIN=beta
file: 'rustup/Dockerfile'
tags: gitea.loadingm.xyz/the10thwiz/rustup:beta
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
build-args: TOOLCHAIN=nightly
file: 'rustup/Dockerfile'
tags: gitea.loadingm.xyz/the10thwiz/rustup:nightly
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
build-args: |
TOOLCHAIN=stable
EXTRA=beta nightly
file: 'rustup/Dockerfile'
tags: gitea.loadingm.xyz/the10thwiz/rustup:latest
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
build-args: |
TOOLCHAIN=stable
EXTRA=beta nightly
TARGETS=x86_64-unknown-linux-musl
file: 'rustup/Dockerfile'
tags: gitea.loadingm.xyz/the10thwiz/rustup:musl-latest