Remove email #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Container Image | |
# Run workflow on tags starting with v (eg. v2, v1.2.0) | |
on: | |
push: | |
branches: | |
- devel | |
jobs: | |
Deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and Push Docker Image | |
uses: docker/build-push-action@v3 | |
with: | |
push: true # Will only build if this is not here | |
tags: | | |
ghcr.io/alanocallaghan/scater:${{ github.sha }} | |
ghcr.io/alanocallaghan/scater:latest |