Skip to content

Docker Image - ubuntu:20.04 #83

Docker Image - ubuntu:20.04

Docker Image - ubuntu:20.04 #83

name: Docker Image - ubuntu:20.04
'on':
workflow_dispatch: null
schedule:
- cron: 0 1 * * mon
jobs:
clone-and-build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- 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:
context: .
file: .github/workflows/sapling-cli-ubuntu-20.04.Dockerfile
push: true
tags: ${{ format('ghcr.io/{0}/build_ubuntu_20_04:latest', github.repository) }}