Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add .git to dockerignore #157

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ venv
.coverage
*.swp
*.log
.git
10 changes: 0 additions & 10 deletions .github/workflows/pr-onto-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,9 @@ jobs:
- name: Get branch name
id: branch-name
uses: tj-actions/[email protected]
# - run: git fetch --all --tags
# - name: Check Release Version
# uses: thebongy/version-check@v1
# with:
# file: worker/package.json
# tagFormat: v${version}
# failBuild: true
- run: |
docker login --username rudderlabs --password '${{ secrets.DOCKER_HUB_PASSWORD }}'
export VERSION=${{ steps.branch-name.outputs.current_branch }}
rm -rf rudder-alerta-enrichment-plugin
git clone -b "$(cat RUDDER_ENRICH_PLUGIN_BRANCH_NAME)" https://${{ secrets.PAT_USERNAME }}:${{ secrets.PAT }}@github.com/rudderlabs/rudder-alerta-enrichment-plugin.git
docker build --no-cache --build-arg=COMMIT_ID_VALUE="$(git log --format="%H" -n 1)" -t rudderlabs/alerta:$VERSION .
docker push rudderlabs/alerta:$VERSION
rm -rf rudder-alerta-enrichment-plugin
name: Docker build and push
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,4 @@ pg-data/
.env.development
values.yaml

rudder-alerta-enrichment-plugin/
pg-data-2
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "2.2.1"
"version": "2.3.0"
}
1 change: 1 addition & 0 deletions rudder-alerta-enrichment-plugin
Submodule rudder-alerta-enrichment-plugin added at ee19fb
Loading