Files
go-mention-all-bot/.github/workflows/docker-image.yml
Maksim Pischulenok bcbc4222e2 Update docker-image.yml
2022-05-28 18:18:31 +03:00

32 lines
625 B
YAML

name: Docker Image CI
on:
push:
branches: [ master ]
paths-ignore:
- 'README.md'
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docker Login
uses: docker/login-action@v2.0.0
with:
username: ${{secrets.DOCKERHUB_LOGIN}}
password: ${{secrets.DOCKERHUB_PASSWORD}}
- name: Build the Docker image
run: docker build . --file Dockerfile --tag pischule/go-mention-all-bot
- name: Push the Docker image
run: docker push pischule/go-mention-all-bot