Skip to content

Playground Docker Image CI #2

Playground Docker Image CI

Playground Docker Image CI #2

Workflow file for this run

name: Playground Docker Image CI
on:
workflow_dispatch:
push:
branches: [ "master" ]
paths:
- ./docker/playground/**
pull_request:
branches: [ "master" ]
paths:
- ./docker/playground/**
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: './docker/playground/'
steps:
- uses: actions/checkout@v4
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.REGISTRY_TOKEN}}
- name: Build the Playground Image
run: |
docker build . --file Dockerfile --tag ghcr.io/fxttr/playground:latest
docker push ghcr.io/fxttr/playground:latest