Skip to content

Docker image: ccodwg-archive #288

Docker image: ccodwg-archive

Docker image: ccodwg-archive #288

name: "Docker image: ccodwg-archive"
on:
workflow_dispatch
env:
REGISTRY: ghcr.io
CONTEXT: docker/ccodwg-archive
IMAGE: ghcr.io/ccodwg/ccodwg-archive:latest
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.1.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GH_PAT_DOCKER }}
- name: Build and push Docker image
uses: docker/build-push-action@v3.2.0
with:
context: ${{ env.CONTEXT }}
push: true
tags: ${{ env.IMAGE }}