CI main.yml path typo fixed

This commit is contained in:
Yogesh Ojha
2020-06-27 18:19:52 +05:30
parent 8b333edae2
commit 59e6a730e1
+26
View File
@@ -0,0 +1,26 @@
name: Build Docker Image for reNgine
on: [push]
env:
WEB_IMAGE: docker.pkg.github.com/$GITHUB_REPOSITORY/reNgine
jobs:
build:
name: Build Docker Image for reNgine
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v1
- name: Log in to GitHub Packages
run: echo ${GITHUB_TOKEN} | docker login -u ${GITHUB_ACTOR} --password-stdin docker.pkg.github.com
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build images
run: |
docker-compose -f docker-compose.yml build
- name: Push images
run: |
docker push ${{ env.WEB_IMAGE }}