From bf375ee03e5e95d64ce486b9f2b3e7b50c30c3d7 Mon Sep 17 00:00:00 2001 From: Tan Nguyen <35853002+tanhongit@users.noreply.github.com> Date: Sat, 21 Oct 2023 18:17:36 +0700 Subject: [PATCH] Delete .github/workflows/docker-publish.yml --- .github/workflows/docker-publish.yml | 59 ---------------------------- 1 file changed, 59 deletions(-) delete mode 100644 .github/workflows/docker-publish.yml diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml deleted file mode 100644 index 2c5a201..0000000 --- a/.github/workflows/docker-publish.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: Publish Docker image - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -env: - DOCKER_ID: ${{ secrets.DOCKER_ID }} - IMAGE_NAME: telegram-git-notifier-app - DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} - -jobs: - shellcheck: - name: Shellcheck - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Run ShellCheck - uses: ludeeus/action-shellcheck@master - with: - ignore_paths: >- - sources - - push_to_registry: - if: github.event_name != 'pull_request' - name: LEMP Docker Image to Hub - needs: shellcheck - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Setup Docker build - uses: docker/setup-buildx-action@v2 - - - name: Log into Docker Hub - uses: docker/login-action@v2 - with: - username: ${{ env.DOCKER_USERNAME }} - password: ${{ env.DOCKER_PASSWORD }} - - - name: Extract Docker metadata - id: meta - uses: docker/metadata-action@v4 - with: - images: ${{ env.DOCKER_ID }}/${{ env.IMAGE_NAME }} - - - name: Build and push Docker image - id: build-and-push - uses: docker/build-push-action@v3 - with: - context: . - file: .docker/Dockerfile - push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }}