Skip to content

Add category name and simplify test names (#57) #2

Add category name and simplify test names (#57)

Add category name and simplify test names (#57) #2

Workflow file for this run

name: docker-image
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'ddmms/ml-peg'
permissions:
packages: write
contents: read
steps:
- name: "Login to ghcr"
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
file: ./containers/Dockerfile
push: true
tags: |
ghcr.io/ddmms/ml-peg-app:latest
ghcr.io/ddmms/ml-peg-app:${{ github.sha }}