From 23a0215378c6181e245821c88602c1d49a1914e4 Mon Sep 17 00:00:00 2001 From: Paramtamtam Date: Tue, 8 Dec 2020 11:02:54 +0500 Subject: Docker build updated --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.github/workflows/release.yml') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 457ac6f0..2a5972df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -118,6 +118,9 @@ jobs: - name: Check out code uses: actions/checkout@v2 + - name: Make docker login + run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_LOGIN }}" --password-stdin &> /dev/null + - name: Generate builder values id: values run: | @@ -127,7 +130,10 @@ jobs: - name: Build image run: | docker build \ - --tag rr:local \ + --tag "spiralscout/roadrunner:${{ steps.values.outputs.version }}" \ --build-arg "APP_VERSION=${{ steps.values.outputs.version }}" \ --build-arg "BUILD_TIME=${{ steps.values.outputs.timestamp }}" \ . + + - name: Push image into registry + run: docker push "spiralscout/roadrunner:${{ steps.values.outputs.version }}" -- cgit v1.2.3