Files
docker-containers/.gitea/workflows/publish.yaml
Matthew Pomes edef221e69
Some checks failed
publish / docker (push) Has been cancelled
Add image with all toolchains installed
2025-09-02 23:04:26 -05:00

55 lines
1.5 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