Skip to content

Adjust image tag in readme and gh action file #2

Adjust image tag in readme and gh action file

Adjust image tag in readme and gh action file #2

Workflow file for this run

name: Create and Publish the Docker Image
on:
push:
branches: ["master"]
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Login to the Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract Metadata for Docker
id: meta
uses: docker/[email protected]
with:
images: ghcr.io/${{ github.repository_owner }}/chahoutan
- name: Build and Push Docker Image
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}