From f13dbd99dbfa422b154af7f0c6bb53283055fff4 Mon Sep 17 00:00:00 2001 From: Yuzuki <50410851+Yuzuki616@users.noreply.github.com> Date: Sat, 4 Jun 2022 16:58:16 +0800 Subject: [PATCH] Delete docker.yml --- .github/workflows/docker.yml | 40 ------------------------------------ 1 file changed, 40 deletions(-) delete mode 100644 .github/workflows/docker.yml diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml deleted file mode 100644 index 4749af8..0000000 --- a/.github/workflows/docker.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Publish Docker image -on: - workflow_dispatch: - push: - tags: - - 'v*' -jobs: - push_to_registry: - name: Push Docker image to Docker Hub - runs-on: ubuntu-latest - steps: - - name: Check out the repo - uses: actions/checkout@v2 - - - name: Docker meta - id: docker_meta - uses: crazy-max/ghaction-docker-meta@v1 - with: - images: misakano7545/xrayr - tag-semver: | - {{version}} - {{major}}.{{minor}} - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - - name: Build and push - uses: docker/build-push-action@v2 - with: - context: . - platforms: linux/arm/v7,linux/arm64,linux/amd64,linux/s390x - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.docker_meta.outputs.tags }} - labels: ${{ steps.docker_meta.outputs.labels }} \ No newline at end of file