Skip to content

Commit

Permalink
Merge pull request #4 from PiyushXCoder/PiyushXCoder-workflow
Browse files Browse the repository at this point in the history
Modification to variable
  • Loading branch information
PiyushXCoder authored Dec 6, 2023
2 parents 9fe0c09 + 78f28e8 commit e498f10
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: Docker Image CI

on:
push:
branches: [ "main" ]
branches:
- "main"
pull_request:
branches: [ "main" ]
branches:
- "main"

jobs:
push-store-image:
Expand All @@ -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

0 comments on commit e498f10

Please sign in to comment.