Skip to content

webgtx/gcr-podman-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Featureful Google Container Registry Push Action 🏗

Build and Push your images securly with lightweight podman

Github Action Inputs

Variable Description
access_token Required Service Account JSON Key (base64 encoded) or oauth Access Token
auth_type Authetication Type oauth2 or jsonkey, default "jsonkey"
project_id Required Project Name
host Registry host name, default: "gcr.io"
image_id Required Image name with tag

Example usage

- uses: webgtx/gcr-podman-action@v2
  with:
    project_id: init64
    image_id: webgtx-blog:latest
    access_token: ${{ secrets.GOOGLE_JSON_KEY }}

Why podman

Podman allows for non-root privileges for containers.Rootless containers are considered safer than containers with root privileges. In Docker, daemons have root privileges, making them the preferred gateway for attackers. Containers in Podman do not have root access by default, adding a natural barrier between root and rootless levels, improving security. Still, Podman can run both root and rootless containers.