diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b41275d..136d4c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,4 +20,10 @@ jobs: - run: make build-js env: NODE_OPTIONS: --openssl-legacy-provider - - run: make release + - run: echo "$DOCKER_PASS" | docker login --username "scregoci" --password-stdin + env: + DOCKER_PASS: ${{ secrets.DOCKER_PASS }} + - if: startsWith(github.ref, 'refs/tags/v') + run: make release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}