mirror of https://github.com/PiyushXCoder/lupt.git
Merge pull request #4 from PiyushXCoder/PiyushXCoder-workflow
Modification to variable
This commit is contained in:
commit
e498f10d7e
|
|
@ -2,9 +2,11 @@ name: Docker Image CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "main" ]
|
branches:
|
||||||
|
- "main"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches:
|
||||||
|
- "main"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
push-store-image:
|
push-store-image:
|
||||||
|
|
@ -23,6 +25,6 @@ jobs:
|
||||||
|
|
||||||
- name: 'Build Inventory Image'
|
- name: 'Build Inventory Image'
|
||||||
run: |
|
run: |
|
||||||
docker build . --tag ghcr.io/${{env.GITHUB_REPOSITORY}}:main
|
docker build . --tag ghcr.io/${{github.repository}}:main
|
||||||
docker push ghcr.io/${{env.GITHUB_REPOSITORY}}:main
|
docker push ghcr.io/${{github.repository}}:main
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue