Fix docker build in on-main workflow (#126)

This commit is contained in:
2022-06-15 12:41:08 +05:30
committed by GitHub
parent 012d2e1a47
commit f3962257b6
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -60,7 +60,9 @@ jobs:
echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7})
echo ::set-output name=repo::$(echo ${{ github.repository }})
- name: Run docker build
run: docker build -t ${{steps.vars.outputs.repo}} .
run: make docker-build
env:
NPM_AUTH_TOKEN: ${{ secrets.PAT_PACKAGES }}
- name: Tag docker image
run: docker tag ${{steps.vars.outputs.repo}} ghcr.io/${{steps.vars.outputs.repo}}:${{steps.vars.outputs.sha}}
- name: Docker Login