Skip to content

Edit .env.example, code of conduct, README.md and add example. Minor … #32

Edit .env.example, code of conduct, README.md and add example. Minor …

Edit .env.example, code of conduct, README.md and add example. Minor … #32

Workflow file for this run

name: Publish Docker image
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build_and_push_backend_to_docker_hub:
name: Pushing backend image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push to Docker Hub
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/nc_tg_bot