Skip to content

fix(nato): prevent command injection #52

fix(nato): prevent command injection

fix(nato): prevent command injection #52

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