Skip to content

Commit

Permalink
ci(workflow): removed temp logs added
Browse files Browse the repository at this point in the history
  • Loading branch information
arhamj committed Oct 23, 2024
1 parent 4f245e5 commit 74fd98c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Create and publish a Docker image
on:
push:
branches: ['dev']
pull_request:
branches: ['dev']

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -36,7 +34,6 @@ jobs:
id: set-env-vars
run: |
# Get short commit hash
echo "Branch: $(git rev-parse --short HEAD)"
echo "SHORT_COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
# Determine branch name
Expand All @@ -45,10 +42,6 @@ jobs:
else
echo "BRANCH_NAME=${{ github.ref_name }}" >> $GITHUB_ENV # Actual branch name for push events
fi
- name: Echo step
run: |
echo "Branch: ${{ env.SHORT_COMMIT_HASH }}"
echo "Sha: ${{ env.BRANCH_NAME }}"
- name: Build and push Docker image
id: push
uses: docker/build-push-action@v6
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ npm install
npm install pm2 -g
EOF

ENTRYPOINT [ "/usr/src/app/entrypoint.sh" ]
ENTRYPOINT [ "/usr/src/app/entrypoint.sh" ]

0 comments on commit 74fd98c

Please sign in to comment.