Skip to content

Commit

Permalink
Modification to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
PiyushXCoder committed Dec 6, 2023
1 parent 572ac27 commit 78f28e8
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 78f28e8

Please sign in to comment.