Files
docker-containers/.gitea/workflows/publish.yaml
Matthew Pomes 6d29c7f204
All checks were successful
publish / docker (push) Successful in 4m47s
Fix other versions to match
2025-09-02 22:32:23 -05:00

46 lines
1.3 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,gitea.loadingm.xyz/the10thwiz/rustup:latest
- 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