Skip to content

Docker Image CI

Docker Image CI #1

Workflow file for this run

name: Docker Image CI
on:
workflow_dispatch: null
push:
paths: ['docker/*']
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build the Docker image
run: docker build docker --tag ghcr.io/espm-157/github-runner:latest
- name: Publish
run: docker push ghcr.io/espm-157/github-runner:latest