This commit is contained in:
@@ -8,8 +8,9 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
- run: sh -c 'curl -sSL https://get.docker.com/ | sh'
|
||||||
name: Login to Docker Hub
|
- uses: actions/checkout@v4
|
||||||
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: gitea.loadingm.xyz
|
registry: gitea.loadingm.xyz
|
||||||
@@ -21,24 +22,24 @@ jobs:
|
|||||||
# -
|
# -
|
||||||
# name: Set up Docker Buildx
|
# name: Set up Docker Buildx
|
||||||
# uses: docker/setup-buildx-action@v3
|
# uses: docker/setup-buildx-action@v3
|
||||||
-
|
- name: Build and push
|
||||||
name: Build and push
|
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
build-args: TOOLCHAIN=stable
|
build-args: TOOLCHAIN=stable
|
||||||
|
file: 'rustup/Dockerfile'
|
||||||
tags: gitea.loadingm.xyz/the10thwiz/rustup:stable,gitea.loadingm.xyz/the10thwiz/rustup:latest
|
tags: gitea.loadingm.xyz/the10thwiz/rustup:stable,gitea.loadingm.xyz/the10thwiz/rustup:latest
|
||||||
-
|
- name: Build and push
|
||||||
name: Build and push
|
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
build-args: TOOLCHAIN=beta
|
build-args: TOOLCHAIN=beta
|
||||||
|
file: '{context}/rustup/Dockerfile'
|
||||||
tags: gitea.loadingm.xyz/the10thwiz/rustup:beta
|
tags: gitea.loadingm.xyz/the10thwiz/rustup:beta
|
||||||
-
|
- name: Build and push
|
||||||
name: Build and push
|
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
build-args: TOOLCHAIN=nightly
|
build-args: TOOLCHAIN=nightly
|
||||||
|
file: '{context}/rustup/Dockerfile'
|
||||||
tags: gitea.loadingm.xyz/the10thwiz/rustup:nightly
|
tags: gitea.loadingm.xyz/the10thwiz/rustup:nightly
|
||||||
|
|||||||
Reference in New Issue
Block a user