Skip to content

CI

CI #63

Workflow file for this run

name: CI
on:
release:
types: [ "published" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build and push Docker images
uses: docker/build-push-action@v1.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: cmusei/topomojo-api
tag_with_ref: true
push: ${{ startsWith(github.ref, 'refs/tags/') }}
build_args: "commit=${{ github.sha }}"