mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-10 03:47:41 +02:00
CI main.yml path typo fixed
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user