Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Merge pull request #160 from haikoschol/dependabot/pip/google-auth-2.… #173

Merge pull request #160 from haikoschol/dependabot/pip/google-auth-2.…

Merge pull request #160 from haikoschol/dependabot/pip/google-auth-2.… #173

Workflow file for this run

name: Publish image on ghcr.io
on:
push:
branches: ['main']
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
env:
FULL_IMAGE_NAME: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
with:
context: .
push: true
tags: ${{ env.FULL_IMAGE_NAME }}:latest,${{ env.FULL_IMAGE_NAME }}:${{ github.sha }}