From 2abf98a2649d2df717e1ae75e3980ed9607f3bc3 Mon Sep 17 00:00:00 2001 From: Chadi LAOULAOU Date: Tue, 18 Jun 2024 18:09:32 +0200 Subject: [PATCH] fix releaser --- .github/workflows/release.yml | 62 +++++++++++++++++------------------ 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 163ae9c7..f88dbf36 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,43 +6,43 @@ on: - v* jobs: - docker: - runs-on: ubuntu-latest - steps: - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + # docker: + # runs-on: ubuntu-latest + # steps: + # - name: Set up QEMU + # uses: docker/setup-qemu-action@v2 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + # - name: Set up Docker Buildx + # uses: docker/setup-buildx-action@v1 - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + # - name: Login to DockerHub + # uses: docker/login-action@v1 + # with: + # username: ${{ secrets.DOCKERHUB_USERNAME }} + # password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Check out the repo - uses: actions/checkout@v2 + # - name: Check out the repo + # uses: actions/checkout@v2 - - name: Set output - id: vars - run: echo ::set-output name=tag::${GITHUB_REF##*/} + # - name: Set output + # id: vars + # run: echo ::set-output name=tag::${GITHUB_REF##*/} - - name: Print env - run: echo $ABTASTY_CLI_VERSION + # - name: Print env + # run: echo $ABTASTY_CLI_VERSION - - name: Build and push - id: docker_build - uses: docker/build-push-action@v4 - with: - context: ./ - build-args: | - ABTASTY_CLI_VERSION=${{ github.ref_name }} - push: true - tags: flagshipio/cli:${{ steps.vars.outputs.tag }} + # - name: Build and push + # id: docker_build + # uses: docker/build-push-action@v4 + # with: + # context: ./ + # build-args: | + # ABTASTY_CLI_VERSION=${{ github.ref_name }} + # push: true + # tags: flagshipio/cli:${{ steps.vars.outputs.tag }} - - name: Image digest - run: echo ${{ steps.docker_build.outputs.digest }} + # - name: Image digest + # run: echo ${{ steps.docker_build.outputs.digest }} release: name: Release @@ -60,7 +60,7 @@ jobs: uses: goreleaser/goreleaser-action@v3 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }} ABTASTY_CLI_VERSION: ${{ github.ref_name }}