Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Integrate tetris game #3

Integrate tetris game

Integrate tetris game #3

name: 2.3 (Optional) Package Container Image
on:
pull_request:
branches: [ main ]
permissions:
contents: read
packages: write
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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 to GHCR
uses: docker/build-push-action@v2
with:
push: true
context: ${{ github.workspace }}
tags: ghcr.io/${{ github.repository }}:${{ github.sha }}