Skip to content

Push image to ghcr.io #41

Push image to ghcr.io

Push image to ghcr.io #41

name: Push image to ghcr.io
on:
push:
tags: ["v*"]
workflow_dispatch:
permissions:
packages: write
contents: read # This is required for actions/checkout
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- run: sudo cat /etc/default/docker
- run: sudo cat /lib/systemd/system/docker.service
- run: sudo systemctl status docker
- run: sudo systemctl restart docker
- run: sudo systemctl stop docker
- run: sudo mkdir -p /etc/systemd/system/docker.service.d
- run: sudo ls -l /etc/systemd/system/docker.service.d