Skip to content

Merge pull request #2 from nucypher/docker #1

Merge pull request #2 from nucypher/docker

Merge pull request #2 from nucypher/docker #1

Workflow file for this run

name: "Docker"
on:
push:
branches:
- 'main'
jobs:
deploy:
name: build && 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