Skip to content

Merge branch 'main' of https://gitlab.com/wc-yat/whatsbot #43

Merge branch 'main' of https://gitlab.com/wc-yat/whatsbot

Merge branch 'main' of https://gitlab.com/wc-yat/whatsbot #43

name: Publish Docker Image 'jeeetpaul/whatsbot'
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
- name: Push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: jeeetpaul/whatsbot
tag_with_ref: true