Skip to content

Using pip instead of pip3 #12

Using pip instead of pip3

Using pip instead of pip3 #12

Workflow file for this run

name: Docker Image CI
on:
push:
paths:
- 'Dockerfile'
- 'requirements.txt'
pull_request:
paths:
- 'Dockerfile'
- 'requirements.txt'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Load Environment Variables from global.env
run: |
cat global.env >> $GITHUB_ENV
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/${{ env.TUSTU_PROJECT_NAME }}-image:latest