Files
docker-containers/.gitea/workflows/publish.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 51: cannot unmarshal !!seq into string

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