From 07872ef5c379f3528287130b3c52fe3ee932d8bf Mon Sep 17 00:00:00 2001 From: ZhouYixun <291028775@qq.com> Date: Wed, 8 Jun 2022 21:33:58 +0800 Subject: [PATCH] delete_workflow --- .github/workflows/deploy.yml | 30 ------------------------------ 1 file changed, 30 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 51ec2960..00000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Docker Image CI - -on: - workflow_dispatch: - -jobs: - - build: - - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Set up JDK 17 - uses: actions/setup-java@v2 - with: - java-version: '17' - distribution: 'temurin' - cache: maven - - name: login docker hub - run: echo "${{ secrets.ACCESS_TOKEN }}" | docker login -u zhouyixun --password-stdin - - name: get agent - run: cd sonic-agent && mvn package -Plinux-x86_64 && docker build -t sonicorg/sonic-agent-linux:v1.4.0-release -f src/main/docker/Dockerfile . - - name: push - run: docker push sonicorg/sonic-agent-linux:v1.4.0-release - - name: login docker hub - run: echo "${{ secrets.ACCESS_TOKEN_ALIYUN }}" | docker login --username=小虫哔哔 registry.cn-hangzhou.aliyuncs.com --password-stdin - - name: tag - run: docker tag sonicorg/sonic-agent-linux:v1.4.0-release registry.cn-hangzhou.aliyuncs.com/sonic-cloud/sonic-agent-linux:v1.4.0-release - - name: push - run: docker push registry.cn-hangzhou.aliyuncs.com/sonic-cloud/sonic-agent-linux:v1.4.0-release