Skip to content

fixed the github workflow #2

fixed the github workflow

fixed the github workflow #2

name: Docker Package
on:
push:
branches:
- swati/updates
jobs:
build:
runs-on: ubuntu-latest
steps:

Check failure on line 10 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 10
- 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 }}
# - name: semantic release
# uses: codfish/semantic-release-action@master
# id: semantic
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# GPR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Docker push version
run: |
docker build --build-arg GPR_TOKEN=$GPR_TOKEN -t ghcr.io/eyblockchain/zokrates-worker-starlight-updated:latest .
docker push ghcr.io/eyblockchain/zokrates-worker-starlight-updated:latest
env:
GPR_TOKEN: ${{ secrets.GITHUB_TOKEN }}