From 5fed19ce027bc4e65e4489cb294f7eb2f94e3a8d Mon Sep 17 00:00:00 2001 From: Nikolai Mishin Date: Sat, 20 Jun 2026 00:11:15 +0200 Subject: [PATCH] feat: Remove build and push nightly schedule Signed-off-by: Nikolai Mishin --- .github/workflows/build-image.yaml | 33 ------------------------------ 1 file changed, 33 deletions(-) diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index a79e218..3096d89 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -5,8 +5,6 @@ on: release: types: - created - schedule: - - cron: '00 00 * * *' jobs: docker: @@ -33,7 +31,6 @@ jobs: echo IMAGE_TAG=$([ ${{ github.ref_type }} == 'tag' ] && echo ${{ github.ref_name }} || echo 'latest') >> $GITHUB_ENV - name: Build and Push release to ghcr.io - if: github.event_name != 'schedule' uses: docker/build-push-action@v5 with: context: . @@ -49,22 +46,6 @@ jobs: secrets: | "github_token=${{ secrets.GITHUB_TOKEN }}" - - name: Build and Push nightly to ghcr.io - if: github.event_name == 'schedule' - uses: docker/build-push-action@v5 - with: - context: . - build-args: | - INSTALL_ALL=true - platforms: linux/amd64,linux/arm64 - push: true - tags: | - ghcr.io/${{ github.repository }}:nightly - # Fix multi-platform: https://github.com/docker/buildx/issues/1533 - provenance: false - secrets: | - "github_token=${{ secrets.GITHUB_TOKEN }}" - - name: Login to DockerHub Container Registry uses: docker/login-action@v4 with: @@ -73,7 +54,6 @@ jobs: password: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Build and Push release to DockerHub - if: github.event_name != 'schedule' uses: docker/build-push-action@v5 with: context: . @@ -85,16 +65,3 @@ jobs: registry.hub.docker.com/tofuutils/pre-commit-opentofu:${{ env.IMAGE_TAG }} registry.hub.docker.com/tofuutils/pre-commit-opentofu:latest provenance: false - - - name: Build and Push nightly to DockerHub - if: github.event_name == 'schedule' - uses: docker/build-push-action@v5 - with: - context: . - build-args: | - INSTALL_ALL=true - platforms: linux/amd64,linux/arm64 - push: true - tags: | - registry.hub.docker.com/tofuutils/pre-commit-opentofu:nightly - provenance: false