Skip to content

Merge pull request #22 from trento-project/update-rust-1.76-builder #18

Merge pull request #22 from trento-project/update-rust-1.76-builder

Merge pull request #22 from trento-project/update-rust-1.76-builder #18

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