Skip to content

Update pipeline.

Update pipeline. #1

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: |
docker build . -t thomasve/museit-docs:latest
docker build . -t thomasve/dmuseit-docs:$GITHUB_SHA
docker login -u ${{ secrets.DOCKERHUB_USER }} --password ${{ secrets.DOCKERHUB_PASSWORD }}
docker push thomasve/museit-docs:latest
docker push thomasve/museit-docs:$GITHUB_SHA