Skip to content

Added Dockerfile entrypoint #2

Added Dockerfile entrypoint

Added Dockerfile entrypoint #2

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: |
docker login --username coinmoles --password ${{ secrets.PERSONAL_ACCESS_TOKEN }} ghcr.io
docker build . --tag ghcr.io/coinmoles/promotion-bot:$(date +%s)
docker push . ghcr.io/coinmoles/promotion-bot:$(date +%s)