Skip to content

Merge pull request #3 from nucypher/docker #2

Merge pull request #3 from nucypher/docker

Merge pull request #3 from nucypher/docker #2

Workflow file for this run

name: "Docker"
on:
push:
branches:
- 'main'
jobs:
deploy:
name: build and push image to docker hub
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v3
with:
ref: 'main'
- name: setup docker buildx
uses: docker/setup-buildx-action@v2
- name: docker login
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: build and push api
id: build-push-api
uses: docker/build-push-action@v3
with:
context: .
file: ./deploy/Dockerfile
push: true
tags: nucypher/train45:latest