diff --git a/.github/workflows/dev-image.yaml b/.github/workflows/dev-image.yaml deleted file mode 100644 index 8f1cbbaacbfba4e58dd4b98dff2659cdee3e0aae..0000000000000000000000000000000000000000 --- a/.github/workflows/dev-image.yaml +++ /dev/null @@ -1,52 +0,0 @@ -name: DevImage - -on: - push: - branches: - - master - - tiny-dev-image -jobs: - build: - name: Build - runs-on: ubuntu-latest - steps: - - - name: Set up Go 1.13 - uses: actions/setup-go@v1 - with: - go-version: 1.13 - id: go - - - name: Check out code into the Go module directory - uses: actions/checkout@v1 - - - name: Build - run: | - export PATH=$PATH:${PWD}/bin:$GOPATH/bin:/home/runner/go/bin - make clean go-bindata-download-linux tools init build-all test - - - name: Upload darwin artifact - uses: actions/upload-artifact@v1.0.0 - with: - name: darwin - path: bin/darwin/jcli - - - name: Upload linux artifact - uses: actions/upload-artifact@v1.0.0 - with: - name: linux - path: bin/linux/jcli - - - name: Upload windows artifact - uses: actions/upload-artifact@v1.0.0 - with: - name: windows - path: bin/windows/jcli.exe - - - name: Push Image - env: - DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }} - run: | - docker login --username surenpi --password ${DOCKER_HUB_TOKEN} - docker build . -t jenkinszh/jcli:dev -f Dockerfile-dev - docker push jenkinszh/jcli:dev