Skip to content

Merge pull request #21 from trento-project/release/v.1.3.0 #17

Merge pull request #21 from trento-project/release/v.1.3.0

Merge pull request #21 from trento-project/release/v.1.3.0 #17

Workflow file for this run

name: Build and Push Docker
# Run workflow on tags starting with v (eg. v2, v1.2.0)
on:
push:
tags:
- v*
jobs:
Deploy:
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
uses: actions/checkout@v1
- 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