From df13790f10339719946df115e8acd3d584d6a608 Mon Sep 17 00:00:00 2001 From: nolte Date: Sat, 30 Sep 2023 17:22:41 +0100 Subject: [PATCH] ... --- .github/workflows/dockerimage.yml | 64 +++++++++++++++---------------- 1 file changed, 31 insertions(+), 33 deletions(-) diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index 5aa17aa..77091b8 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -42,15 +42,15 @@ jobs: with: context: ./images/commons/. tags: ghcr.io/nolte/vscode-devcontainers/commons:${{ needs.prepare.outputs.image_tag }} - outputs: type=docker,dest=/tmp/commons.tar + # outputs: type=docker,dest=/tmp/commons.tar push: true - - name: Upload artifact - uses: actions/upload-artifact@v3 - with: - name: commons - path: /tmp/commons.tar + # - name: Upload artifact + # uses: actions/upload-artifact@v3 + # with: + # name: commons + # path: /tmp/commons.tar @@ -67,14 +67,14 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + # - name: Set up Docker Buildx + # uses: docker/setup-buildx-action@v3 - - name: Download artifact - uses: actions/download-artifact@v3 - with: - name: commons - path: /tmp + # - name: Download artifact + # uses: actions/download-artifact@v3 + # with: + # name: commons + # path: /tmp - name: Load image run: | # docker buildx use default @@ -110,24 +110,22 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Download artifact - uses: actions/download-artifact@v3 - with: - name: commons - path: /tmp - - name: Load image - run: | - docker load --input /tmp/commons.tar + # - name: Download artifact + # uses: actions/download-artifact@v3 + # with: + # name: commons + # path: /tmp + # - name: Load image + # run: | + # docker load --input /tmp/commons.tar - name: Push to GitHub Packages uses: docker/build-push-action@v5.0.0 with: context: ./images/commons-golang/. tags: ghcr.io/nolte/vscode-devcontainers/commons-golang:${{ needs.prepare.outputs.image_tag }} - outputs: type=docker,dest=/tmp/commons-golang.tar - build-args: FROM_IMAGE_VERSION=${{ needs.prepare.outputs.image_tag }} - - + #outputs: type=docker,dest=/tmp/commons-golang.tar + build-args: FROM_IMAGE_VERSION=${{ needs.prepare.outputs.image_tag }} push: true - name: Upload artifact uses: actions/upload-artifact@v3 @@ -149,14 +147,14 @@ jobs: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Download artifact - uses: actions/download-artifact@v3 - with: - name: commons-golang - path: /tmp - - name: Load image - run: | - docker load --input /tmp/commons-golang.tar + # - name: Download artifact + # uses: actions/download-artifact@v3 + # with: + # name: commons-golang + # path: /tmp + # - name: Load image + # run: | + # docker load --input /tmp/commons-golang.tar - name: Push to GitHub Packages uses: docker/build-push-action@v5.0.0