diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index bc78968..71fb83d 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -8,8 +8,9 @@ jobs: docker: runs-on: ubuntu-latest steps: - - - name: Login to Docker Hub + - 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 @@ -21,24 +22,24 @@ jobs: # - # name: Set up Docker Buildx # uses: docker/setup-buildx-action@v3 - - - name: Build and push + - 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 + - name: Build and push uses: docker/build-push-action@v6 with: push: true build-args: TOOLCHAIN=beta + file: '{context}/rustup/Dockerfile' tags: gitea.loadingm.xyz/the10thwiz/rustup:beta - - - name: Build and push + - name: Build and push uses: docker/build-push-action@v6 with: push: true build-args: TOOLCHAIN=nightly + file: '{context}/rustup/Dockerfile' tags: gitea.loadingm.xyz/the10thwiz/rustup:nightly