Skip to content

BuildDockerImage

BuildDockerImage #66

Workflow file for this run

name: BuildDockerImage
on:
workflow_dispatch :
push:
branches: [ "docker-main" ]
pull_request:
branches: [ "docker-main" ]
jobs:
build-and-publish-docker:
runs-on: ubuntu-latest
#runs-on: h4ckermike/act_base:latest
steps:
- uses: meta-introspector/checkout@v3
with :
submodules: true
- name: Build the Docker imaage
run: docker-compose build autogpt-standalone
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: "h4ckermike"
password: ${{ secrets.DOCKER }}
logout : 'false'
- name: Build the Docker imaage
run: docker-compose push autogpt-standalone
env:
DOCKER_HUB_USERNAME: "h4ckermike"
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER }}