Skip to content

Instantly share code, notes, and snippets.

View vitorsanc-hu's full-sized avatar

Vitor Santana Cordeiro vitorsanc-hu

View GitHub Profile
@palewire
palewire / README.md
Last active July 4, 2024 09:50
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

@BeattieM
BeattieM / API Contract Example Spec.md
Last active June 28, 2024 04:43
An example of an API contract between the server and front-end devices

#Users

  • User object
{
  id: integer
  username: string
  email: string
  created_at: datetime(iso 8601)
  updated_at: datetime(iso 8601)
}