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

build docker image

build docker image #3

Workflow file for this run

name: Docker Build and Push
on:
push:
branches:
- main
permissions:
id-token: write
contents: read
actions: read
jobs:
build-and-push:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push images
uses: docker/build-push-action@v3
with:
context: .
tags: ghcr.io/hpcslab/cfp-summary-server:${{ github.sha }}
push: true