From f21f088adc47502b6fd2ed432819c3b758c1c23c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Mon, 21 Mar 2022 02:29:31 +0100 Subject: [PATCH] Delete docker-publish.yml Sadge --- .github/workflows/docker-publish.yml | 45 ---------------------------- 1 file changed, 45 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 bb1b61d..0000000 --- a/.github/workflows/docker-publish.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Docker - -on: - schedule: - - cron: "20 6 * * *" - push: - branches: [master] - tags: ["v*.*.*"] - pull_request: - branches: [master] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Login to Docker Hub - if: github.event_name != 'pull_request' - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - # Extract metadata (tags, labels) for Docker - # https://github.com/docker/metadata-action - - name: Extract Docker metadata - id: meta - uses: docker/metadata-action@v3 - with: - images: thelovinator/discord-nice-embed-maker-for-my-yoy - flavor: latest=${{ github.ref == 'refs/heads/master' }} - - # Build and push Docker image with Buildx (don't push on PR) - # https://github.com/docker/build-push-action - - name: Build and push Docker image - id: build-and-push - uses: docker/build-push-action@v2 - with: - context: . - file: extras/Dockerfile - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }}