tweaking release pipeline.

pull/1/head
Jason Kulatunga 4 years ago
parent 5dd3aed1fe
commit 6cf341a5f1

@ -91,20 +91,22 @@ jobs:
asset_path: ${{ env.PROJECT_PATH }}/scrutiny-collector-metrics-linux-amd64 asset_path: ${{ env.PROJECT_PATH }}/scrutiny-collector-metrics-linux-amd64
asset_name: scrutiny-collector-metrics-linux-amd64 asset_name: scrutiny-collector-metrics-linux-amd64
asset_content_type: application/octet-stream asset_content_type: application/octet-stream
build-docker: # build-docker:
needs: build # needs: build
name: Build Docker # name: Build Docker
runs-on: ubuntu-latest # runs-on: ubuntu-latest
container: docker:19.03.2 # container: docker:19.03.2
steps: # steps:
- name: Checkout # - name: Checkout
uses: actions/checkout@v2 # uses: actions/checkout@v2
- name: Build Docker - name: Build Docker
run: | run: |
docker build -t analogj/scrutiny . cd $PROJECT_PATH
docker save -o docker-analogj-scrutiny-${{ steps.bump_version.outputs.release_version }}.tar analogj/scrutiny:latest
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 - name: Upload Collector Release Asset
id: upload-release-asset2 id: upload-release-asset3
uses: actions/upload-release-asset@v1 uses: actions/upload-release-asset@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Loading…
Cancel
Save