Skip to content

feat: install ping

feat: install ping #3

Workflow file for this run

name: Deploy to GitHub Container Registry
on:
push:
branches:
- master
paths:
- docker-compose.yml
- Dockerfile
- .github/**
jobs:
deploy:
runs-on: ubuntu-latest
env:
IMAGE_NAME: ghcr.io/inzhenerka/judge0-plus-compiler:latest
steps:
- name: Maximize build space
uses: AdityaGarg8/[email protected]
with:
remove-android: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
- name: 🔃 Checkout repository
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ env.IMAGE_NAME }}