Skip to content

Instantly share code, notes, and snippets.

View tanmay-bhat's full-sized avatar

Tanmay Bhat tanmay-bhat

View GitHub Profile
@tanmay-bhat
tanmay-bhat / gitlab-ci.yml
Last active January 4, 2025 04:17
gitlab-CI file to build the Docker image and pushes to ECR
image: "python:3.6" # base dockerimage on which the stages will run. Can be different for each stage.
stages: # each stage runs on a new Docker image. data is not persisted between stages by default.
- publish_image # build docker image and push to registry
build and push docker image:
stage: publish_image
only: # only runs the step when git tag is done and it matches one of the mentioned regex patterns
variables:
- $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+-[0-9]+\.[0-9]+\.[0-9]+$/
@tanmay-bhat
tanmay-bhat / keybase.md
Created September 12, 2019 05:27
my github keybase

Keybase proof

I hereby claim:

  • I am tanmay-bhat on github.
  • I am tanmay1337 (https://keybase.io/tanmay1337) on keybase.
  • I have a public key ASDgjDTvLAgikgjfbQI-tDqFKUPgUbNnTmZ_9oLZWQ79WAo

To claim this, I am signing this object:

@tanmay-bhat
tanmay-bhat / adblock setup script
Last active September 3, 2019 07:39
command to install and configure adblock
sudo mkdir -p /usr/local/bin && sudo curl -\# https://raw.githubusercontent.com/MattiSG/adblock/master/adblock --output /usr/local/bin/adblock && sudo chmod u+x /usr/local/bin/adblock