Publish Docker #1844
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Docker | |
on: | |
schedule: | |
- cron: "0 4 * * *" # Every day at 4:00 a.m. UTC, midnight EDT | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Publish Ubuntu image to Registry | |
uses: docker/build-push-action@v2 | |
with: | |
push: true | |
tags: binaryanalysisplatform/bap:latest | |
file: docker/ubuntu/bionic/Dockerfile |