Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Update Project Museum #2

Update Project Museum

Update Project Museum #2

Workflow file for this run

name: CI to GHCR
on:
push:
branches:
- main
env:
IMAGE_NAME: project-museum
jobs:
push:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Log in to GitHub Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker images
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta. outputs.labels }}