Skip to content

fixed workflow

fixed workflow #7

name: Release updated
on:
push:
branches:
- swati/updates
jobs:
release:

Check failure on line 9 in .github/workflows/release-updated.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-updated.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Login to Github Packages
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# - uses: codfish/semantic-release-action@master
# id: semantic
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# - name: Build docker image
# run: docker build ./merkle-tree
# - run: echo ${{ steps.semantic.outputs.release-version }}
- name: Docker push version
run: |
docker build --build-arg GPR_TOKEN=$GPR_TOKEN -t ghcr.io/eyblockchain/zokrates-worker/zokrates-worker-updated:latest .
docker push ghcr.io/eyblockchain/zokrates-worker/zokrates-worker-updated:latest
env:
GPR_TOKEN: ${{ secrets.GITHUB_TOKEN }}