From a9f1388b212eea5fbcaa4b10999bd2249a213b0b Mon Sep 17 00:00:00 2001 From: bilalrao12 <118199337+bilalrao12@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:54:13 +0500 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 44 ---------------------------------------- 1 file changed, 44 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 93212a2..093f521 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -29,47 +29,3 @@ jobs: - name: Build run: go build -ldflags "-s -w" -o heplify *.go - - docker-push: - if: github.event_name != 'pull_request' - runs-on: ubuntu-latest - needs: build - permissions: - packages: write - contents: read - - steps: - - uses: actions/checkout@v4 - - id: tag_bump - name: Bump version and push tag - uses: anothrNick/github-tag-action@1.67.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DEFAULT_BUMP: none - BRANCH: master - - - name: Log in to the Container registry - uses: docker/login-action@v3.2.0 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Docker meta - id: meta - uses: docker/metadata-action@v5.5.1 - with: - images: | - ghcr.io/${{ github.repository }} - tags: | - latest - ${{ steps.tag_bump.outputs.tag }} - - - name: Build and push - uses: docker/build-push-action@v5.4.0 - with: - context: . - file: ./docker/heplify/Dockerfile - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }}