Skip to content

Instantly share code, notes, and snippets.

View habibrosyad's full-sized avatar
🚀

M. Habib Rosyad habibrosyad

🚀
View GitHub Profile
@habibrosyad
habibrosyad / README.md
Created October 19, 2023 03:32 — forked from palewire/README.md
How to push tagged Docker releases to Google Artifact Registry with a GitHub Action

How to push tagged Docker releases to Google Artifact Registry with a GitHub Action

Here's how I configured a GitHub Action so that a new version issued by GitHub's release interface will build a Dockerfile, tag it with the version number and upload it to Google Artifact Registry.

Before you attempt the steps below, you need the following:

  • A GitHub repository that contains a working Dockerfile
  • The Google Cloud SDK tool gcloud installed and authenticated

Create a Workload Identity Federation

@habibrosyad
habibrosyad / golang_job_queue.md
Created June 16, 2016 03:16 — forked from harlow/golang_job_queue.md
Job queues in Golang
@habibrosyad
habibrosyad / imagemagick-install-steps
Created January 21, 2016 04:55 — forked from rodleviton/imagemagick-install-steps
Installing Image Magick on Ubuntu 14.04
sudo -i
cd
apt-get install build-essential checkinstall && apt-get build-dep imagemagick -y
wget http://www.imagemagick.org/download/ImageMagick-6.8.7-7.tar.gz
tar xzvf ImageMagick-6.8.9-1.tar.gz
cd ImageMagick-6.8.9-1/
./configure --prefix=/opt/imagemagick-6.8 && make
checkinstall