From 6cf341a5f1ad10adc26ce6b5e27ca7e887d7b172 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Sun, 6 Sep 2020 16:11:04 -0700 Subject: [PATCH] tweaking release pipeline. --- .github/workflows/release.yaml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2180131..35a77fb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -91,20 +91,22 @@ jobs: asset_path: ${{ env.PROJECT_PATH }}/scrutiny-collector-metrics-linux-amd64 asset_name: scrutiny-collector-metrics-linux-amd64 asset_content_type: application/octet-stream - build-docker: - needs: build - name: Build Docker - runs-on: ubuntu-latest - container: docker:19.03.2 - steps: - - name: Checkout - uses: actions/checkout@v2 +# build-docker: +# needs: build +# name: Build Docker +# runs-on: ubuntu-latest +# container: docker:19.03.2 +# steps: +# - name: Checkout +# uses: actions/checkout@v2 - name: Build Docker run: | - docker build -t analogj/scrutiny . - docker save -o docker-analogj-scrutiny-${{ steps.bump_version.outputs.release_version }}.tar analogj/scrutiny:latest + cd $PROJECT_PATH + + docker build -t analogj/scrutiny:latest -t analogj/scrutiny:${{ steps.bump_version.outputs.release_version }} . + docker save -o docker-analogj-scrutiny-${{ steps.bump_version.outputs.release_version }}.tar analogj/scrutiny - name: Upload Collector Release Asset - id: upload-release-asset2 + id: upload-release-asset3 uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}