From e689e1454c7e8ae70740201252d3b5d02f499cf5 Mon Sep 17 00:00:00 2001 From: OlivierHecart Date: Wed, 7 Jun 2023 17:47:53 +0200 Subject: [PATCH] Disable docker build [skip ci] --- .github/workflows/release.yml | 88 +++++++++++++++++------------------ 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1838a36..8e42b03 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -257,50 +257,50 @@ jobs: ${{ steps.package.outputs.BIN_PKG_NAME }} ${{ steps.package.outputs.DEBS_PKG_NAME }} - docker-build: - name: Docker build and push - needs: [checks, builds] - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 500 # NOTE: get long history for git-version crate to correctly compute a version - - name: Fetch Git tags # NOTE: workaround for https://github.com/actions/checkout/issues/290 - shell: bash - run: git fetch --tags --force - - name: Download packages from previous job - uses: actions/download-artifact@v2 - with: - path: PACKAGES - - name: Unzip PACKAGES - run: | - ls PACKAGES - mkdir -p docker/linux/amd - unzip PACKAGES/x86_64-unknown-linux-musl/zenoh-bridge-ros1-${{ needs.checks.outputs.PKG_VERSION }}-x86_64-unknown-linux-musl.zip -d docker/linux/amd64/ - mkdir -p docker/linux/arm64 - unzip PACKAGES/aarch64-unknown-linux-musl/zenoh-bridge-ros1-${{ needs.checks.outputs.PKG_VERSION }}-aarch64-unknown-linux-musl.zip -d docker/linux/arm64/ - tree docker - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - name: Docker meta - set tags and labels - id: meta - uses: docker/metadata-action@v3 - with: - images: eclipse/zenoh-bridge-ros1 - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKER_COM_USERNAME }} - password: ${{ secrets.DOCKER_COM_PASSWORD }} - - name: Build and push - uses: docker/build-push-action@v2 - with: - context: . - platforms: linux/amd64,linux/arm64 - file: .github/workflows/Dockerfile - push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} + # docker-build: + # name: Docker build and push + # needs: [checks, builds] + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v2 + # with: + # fetch-depth: 500 # NOTE: get long history for git-version crate to correctly compute a version + # - name: Fetch Git tags # NOTE: workaround for https://github.com/actions/checkout/issues/290 + # shell: bash + # run: git fetch --tags --force + # - name: Download packages from previous job + # uses: actions/download-artifact@v2 + # with: + # path: PACKAGES + # - name: Unzip PACKAGES + # run: | + # ls PACKAGES + # mkdir -p docker/linux/amd + # unzip PACKAGES/x86_64-unknown-linux-musl/zenoh-bridge-ros1-${{ needs.checks.outputs.PKG_VERSION }}-x86_64-unknown-linux-musl.zip -d docker/linux/amd64/ + # mkdir -p docker/linux/arm64 + # unzip PACKAGES/aarch64-unknown-linux-musl/zenoh-bridge-ros1-${{ needs.checks.outputs.PKG_VERSION }}-aarch64-unknown-linux-musl.zip -d docker/linux/arm64/ + # tree docker + # - name: Set up Docker Buildx + # uses: docker/setup-buildx-action@v1 + # - name: Docker meta - set tags and labels + # id: meta + # uses: docker/metadata-action@v3 + # with: + # images: eclipse/zenoh-bridge-ros1 + # - name: Login to DockerHub + # uses: docker/login-action@v1 + # with: + # username: ${{ secrets.DOCKER_COM_USERNAME }} + # password: ${{ secrets.DOCKER_COM_PASSWORD }} + # - name: Build and push + # uses: docker/build-push-action@v2 + # with: + # context: . + # platforms: linux/amd64,linux/arm64 + # file: .github/workflows/Dockerfile + # push: true + # tags: ${{ steps.meta.outputs.tags }} + # labels: ${{ steps.meta.outputs.labels }} publication: name: Release publication