From d02533fe280c483519c8075a951dba76c2974d72 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Tue, 19 Mar 2024 02:56:22 +0000 Subject: [PATCH] Remove unused workflow --- .github/workflows/deploy.yml | 41 ------------------------------------ 1 file changed, 41 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 33102b2..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: 'Deploy' - -on: - push: - tags: - - '*' - -env: - IMAGE_NAME: "flipperdevices/flipper-update-indexer" - -jobs: - build: - runs-on: [self-hosted,FlipperZeroShell] - steps: - - name: 'Checkout code' - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: 'Set image tag' - id: tag - run: | - REF=${{ github.ref }}; - TAG_FULL=${REF#refs/*/}; - IMAGE_TAG=${TAG_FULL//\//_}; - echo "IMAGE_TAG=${IMAGE_TAG}" >> $GITHUB_ENV - echo "image_tag=${IMAGE_TAG}" >> $GITHUB_OUTPUT - - - name: 'Login to Docker Hub' - uses: docker/login-action@v2 - with: - username: ${{ secrets.DOCKER_REGISTRY_LOGIN }} - password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} - - - name: 'Build docker image' - run: | - docker build -t "${IMAGE_NAME}:${IMAGE_TAG}" . - - - name: 'Upload docker image' - run: | - docker push "$IMAGE_NAME:$IMAGE_TAG"