From cdbb884d1e8ca88f4395096f27bc4682cb8ddee6 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Sat, 13 Jul 2024 14:48:04 +0200 Subject: [PATCH] temp action --- .github/workflows/images.yaml | 49 ++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/.github/workflows/images.yaml b/.github/workflows/images.yaml index 053de64..ab4e60f 100644 --- a/.github/workflows/images.yaml +++ b/.github/workflows/images.yaml @@ -4,6 +4,7 @@ on: push: branches: - main + - registry-config-image jobs: docker: @@ -27,20 +28,20 @@ jobs: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - - name: Build and push runner - uses: docker/build-push-action@v5 - env: - SOURCE_DATE_EPOCH: 0 - with: - context: . - file: runner.Dockerfile - tags: | - ghcr.io/yolean/ystack-runner:${{ github.sha }} - platforms: linux/amd64,linux/arm64/v8 - push: true - cache-from: type=gha - cache-to: type=gha,mode=max + # - + # name: Build and push runner + # uses: docker/build-push-action@v5 + # env: + # SOURCE_DATE_EPOCH: 0 + # with: + # context: . + # file: runner.Dockerfile + # tags: | + # ghcr.io/yolean/ystack-runner:${{ github.sha }} + # platforms: linux/amd64,linux/arm64/v8 + # push: true + # cache-from: type=gha + # cache-to: type=gha,mode=max - name: Build and push registry node-update uses: docker/build-push-action@v5 @@ -54,13 +55,13 @@ jobs: push: true cache-from: type=gha cache-to: type=gha,mode=max - - - uses: actions/setup-go@v5 - with: - go-version: 1.22 - - - uses: imjasonh/setup-crane@v0.3 - - - run: | - TAG_BUILDKIT=v0.14.1-rootless - crane cp docker.io/moby/buildkit:$TAG_BUILDKIT ghcr.io/yolean/buildkit:$TAG_BUILDKIT + # - + # uses: actions/setup-go@v5 + # with: + # go-version: 1.22 + # - + # uses: imjasonh/setup-crane@v0.3 + # - + # run: | + # TAG_BUILDKIT=v0.14.1-rootless + # crane cp docker.io/moby/buildkit:$TAG_BUILDKIT ghcr.io/yolean/buildkit:$TAG_BUILDKIT