Skip to content

Merge pull request #28 from trento-project/introduce-warnings #29

Merge pull request #28 from trento-project/introduce-warnings

Merge pull request #28 from trento-project/introduce-warnings #29

name: Build and Push Docker
on:
push:
branches: [ main ]
jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v1
with:
submodules: recursive
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v2
with:
push: true # Will only build if this is not here
tags: |
ghcr.io/${{ github.repository }}:latest
- name: Build and Push WWW Docker Image
uses: docker/build-push-action@v2
with:
push: true
file: Dockerfile.www
tags: |
ghcr.io/${{ github.repository }}-web:latest