Skip to content

Merge pull request #13 from sdip15fa/dependabot/npm_and_yarn/octokit-… #62

Merge pull request #13 from sdip15fa/dependabot/npm_and_yarn/octokit-…

Merge pull request #13 from sdip15fa/dependabot/npm_and_yarn/octokit-… #62

name: Publish Docker Image 'wcyat/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: wcyat/whatsbot
tag_with_ref: true