Skip to content

Docker Image CI

Docker Image CI #135

Workflow file for this run

name: Docker Image CI
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: docker login
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD}}
- name: Build image
run: docker build . --file Dockerfile --tag msmint/msmint:latest
- name: Docker push
run: docker push ${{ secrets.DOCKER_USERNAME }}/msmint:latest