Skip to content

Commit

Permalink
Update neuro to 20.9.3 and fix deployment (#19)
Browse files Browse the repository at this point in the history
* Update neuro

* Fix deployment
  • Loading branch information
Artem Yushkovskiy authored Sep 10, 2020
1 parent c75435d commit 0fa27e3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
27 changes: 7 additions & 20 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,9 @@ on:
branches: [master]

jobs:
build:
build_and_publish:
name: Build image
runs-on: ubuntu-latest
steps:
- name: Checkout commit
uses: actions/checkout@v2

- name: Docker Build
run: |
make build
publish:
name: Publish auto-built image
runs-on: ubuntu-latest
needs: build
if: (github.event_name == 'release' || github.ref == 'refs/heads/master')
env:
DOCKER_SERVER: docker.io
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -33,17 +20,17 @@ jobs:
- name: Checkout commit
uses: actions/checkout@v2

- name: Set up env vars
if: github.ref == 'refs/heads/master'
- name: Docker Build
run: |
echo ::set-env name=TAGS::"$(date +%Y%m%d).debug-$GITHUB_RUN_NUMBER"
- name: Set up env vars for release
if: startsWith(github.ref, 'refs/tags/')
make build
- name: Setup Environment Variables
if: (github.event_name == 'release' && startsWith(github.ref, 'refs/tags/'))
run: |
echo ::set-env name=TAGS::"latest, ${GITHUB_REF#refs/tags/}"
- name: Push image
if: (github.event_name == 'release' && startsWith(github.ref, 'refs/tags/'))
run: |
set -x
docker login $DOCKER_SERVER --username $DOCKER_USERNAME --password $DOCKER_PASSWORD
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
neuromation==20.3.23
neuromation==20.9.3

0 comments on commit 0fa27e3

Please sign in to comment.