From cfc0b2a78b8b86a81b1ebc41bcd3ec5df55da9ea Mon Sep 17 00:00:00 2001 From: Matthew Pomes Date: Tue, 2 Sep 2025 22:07:38 -0500 Subject: [PATCH] Install docker inside container --- .gitea/workflows/publish.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) 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