diff --git a/.github/workflows/build-prerelease.yml b/.github/workflows/build-prerelease.yml index 8ba760d..11e6463 100644 --- a/.github/workflows/build-prerelease.yml +++ b/.github/workflows/build-prerelease.yml @@ -11,25 +11,14 @@ jobs: - name: Checkout Repo id: checkout uses: actions/checkout@v3 - - name: Harbor Login - id: harbor_login - uses: docker/login-action@v2 + - name: Set up Go Tools + uses: actions/setup-go@v4 with: - registry: harbor.cyverse.org - username: ${{ secrets.HARBOR_USERNAME }} - password: ${{ secrets.HARBOR_PASSWORD }} - - name: Install Kubernetes Tools - id: install_k8s_tools - uses: yokawasa/action-setup-kube-tools@v0.9.2 - - name: Build Docker images - id: build + go-version: '>=1.21.0' + - name: Build Executable run: | - skaffold build --file-output build.json - - name: Build manifest tarball - id: build_manifest_tarball - run: | - tar -czpvf deploy-info.tar.gz build.json skaffold.yaml k8s + go build . - uses: ncipollo/release-action@v1 with: - artifacts: "build.json,deploy-info.tar.gz" + artifacts: "road-runner" prerelease: true diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index be07f90..a3d5c78 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -11,24 +11,13 @@ jobs: - name: Checkout Repo id: checkout uses: actions/checkout@v3 - - name: Harbor Login - id: harbor_login - uses: docker/login-action@v2 + - name: Set up Go Tools + uses: actions/setup-go@v4 with: - registry: harbor.cyverse.org - username: ${{ secrets.HARBOR_USERNAME }} - password: ${{ secrets.HARBOR_PASSWORD }} - - name: Install Kubernetes Tools - id: install_k8s_tools - uses: yokawasa/action-setup-kube-tools@v0.9.2 - - name: Build Docker images - id: build + go-version: '>=1.21.0' + - name: Build Executable run: | - skaffold build --file-output build.json - - name: Build manifest tarball - id: build_manifest_tarball - run: | - tar -czpvf deploy-info.tar.gz build.json skaffold.yaml k8s + go build . - uses: ncipollo/release-action@v1 with: - artifacts: "build.json,deploy-info.tar.gz" + artifacts: "road-runner"