Skip to content

fixed a bug

fixed a bug #18

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Login to the container registry
uses: docker/login-action
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)