diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a83a430..3ebb564 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,10 +76,10 @@ jobs: - name: Extract version from release tag id: get_version - run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV + run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV - name: Build and push Docker multi-arch image - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v5 with: context: . platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/tmp.yml b/.github/workflows/tmp.yml new file mode 100644 index 0000000..b6eee50 --- /dev/null +++ b/.github/workflows/tmp.yml @@ -0,0 +1,30 @@ +name: Release Image 0.5.0 + +on: + workflow_dispatch: + +permissions: + contents: read + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Build and push + uses: docker/build-push-action@v6 + with: + context: . + platforms: linux/amd64,linux/arm64 + push: true + tags: philippemerle/kubediagrams:0.5.0