From b713ee04f837b0851e86b445e22d676483f5fa1e Mon Sep 17 00:00:00 2001 From: Clivia <132346501+Yanyutin753@users.noreply.github.com> Date: Sat, 17 Feb 2024 19:28:34 +0800 Subject: [PATCH] Delete .github/workflows/docker-image-arm64.yml --- .github/workflows/docker-image-arm64.yml | 45 ------------------------ 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/docker-image-arm64.yml diff --git a/.github/workflows/docker-image-arm64.yml b/.github/workflows/docker-image-arm64.yml deleted file mode 100644 index 79509dc..0000000 --- a/.github/workflows/docker-image-arm64.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Build and Push Docker Image -Arm64 - -on: - release: - types: [ created ] - workflow_dispatch: - inputs: - tag: - description: 'Tag Name' - required: true - - -jobs: - build-and-push: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 - - - name: Login to Docker Hub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} - - - name: Set tag name - id: tag_name - run: | - if [ "${{ github.event_name }}" = "release" ]; then - echo "::set-output name=tag::${GITHUB_REF#refs/tags/}" - elif [ "${{ github.event_name }}" = "workflow_dispatch" ]; then - echo "::set-output name=tag::${{ github.event.inputs.tag }}" - fi - - - name: Build and push Docker image with Release tag - uses: docker/build-push-action@v2 - with: - context: . - file: ./Dockerfiles/Dockerfile - push: true - tags: | - yangclivia/gpt4-copilot-java:${{ steps.tag_name.outputs.tag }}-arm64 - platforms: linux/arm64