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:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches:
|
||||
- "main"
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches:
|
||||
- "main"
|
||||
|
||||
jobs:
|
||||
push-store-image:
|
||||
|
|
@ -23,6 +25,6 @@ jobs:
|
|||
|
||||
- name: 'Build Inventory Image'
|
||||
run: |
|
||||
docker build . --tag ghcr.io/${{env.GITHUB_REPOSITORY}}:main
|
||||
docker push ghcr.io/${{env.GITHUB_REPOSITORY}}:main
|
||||
docker build . --tag ghcr.io/${{github.repository}}:main
|
||||
docker push ghcr.io/${{github.repository}}:main
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue