Skip to content

Merge branch 'main' of https://github.com/coinmoles/promotion-bot #9

Merge branch 'main' of https://github.com/coinmoles/promotion-bot

Merge branch 'main' of https://github.com/coinmoles/promotion-bot #9

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:2023-11-20
docker push ghcr.io/coinmoles/promotion-bot:2023-11-20