summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorParamtamtam <[email protected]>2020-12-08 11:02:54 +0500
committerParamtamtam <[email protected]>2020-12-08 11:02:54 +0500
commit23a0215378c6181e245821c88602c1d49a1914e4 (patch)
tree304e08535e163e0131d4f57a4a5be552c2a77097 /.github
parentd39cfc438eb8affc39093b7a37cdfd52aad05da7 (diff)
Docker build updated
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml8
1 files changed, 7 insertions, 1 deletions
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 }}"