Skip to content

Merge branch 'feature/ci' into 'main' #13

Merge branch 'feature/ci' into 'main'

Merge branch 'feature/ci' into 'main' #13

Workflow file for this run

name: Docker HK-Comp Image CI
on:
push:
branches: [main]
tags: ['*']
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
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 the Docker image
run: docker build . --file Dockerfile --tag ghcr.io/hyperk/hk-comp:latest
- name: push docker image
run: docker push ghcr.io/hyperk/hk-comp:latest