Skip to content

WIP to be squashed properly #35

WIP to be squashed properly

WIP to be squashed properly #35

name: build-test-image
on:
push:
paths:
- 'Dockerfile'
jobs:
build-test-image:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: ghcr.io/${{ github.repository }}:latest