diff --git a/.github/workflows/docker-image.yml b/.github/workflows/container.yml similarity index 100% rename from .github/workflows/docker-image.yml rename to .github/workflows/container.yml diff --git a/Dockerfile b/Dockerfile index 0a47bfc..182342d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM asciidoctor/docker-asciidoctor:1.41.0 +FROM docker.io/asciidoctor/docker-asciidoctor:1.41.0 COPY theme /theme COPY fonts /theme/fonts diff --git a/Makefile b/Makefile index 405bfc7..8ce3da5 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ all: image image: - docker build -t vshn/asciidoctor-epub3:1.14.2 . + podman build -t ghcr.io/vshn/asciidoctor-epub3:master . build/test.epub: - docker run --rm --tty --user "$$(id -u)" --volume "$${PWD}":/documents vshn/asciidoctor-epub3:1.14.2 sample/test.adoc --destination-dir=build + podman run --rm --volume "$${PWD}":/documents ghcr.io/vshn/asciidoctor-epub3:master sample/test.adoc --destination-dir=build clean: rm -rf build diff --git a/README.adoc b/README.adoc index 2a4267a..964f4d0 100644 --- a/README.adoc +++ b/README.adoc @@ -1,8 +1,6 @@ = VSHN EPUB3 Generator based on Asciidoctor -This project generates a Docker image to be used to generate EPUB3 books with a standard VSHN style and fonts. - -The image is available in https://hub.docker.com/r/vshn/asciidoctor-epub3[Docker Hub]. +This project generates a container image to be used to generate EPUB3 books with a standard VSHN style and fonts. == Build @@ -12,11 +10,11 @@ Run the `make` command to build the image. Run the following command to build an EPUB3 using an Asciidoc file as a basis: -`docker run --rm --tty --user "$(id -u)" --volume "${PWD}":/documents vshn/asciidoctor-epub3:1.14.1 file.adoc` +`podman run --rm --volume "${PWD}":/documents ghcr.io/vshn/asciidoctor-epub3:1.14.1 file.adoc` Any parameters passed after the command line will be fed directly to Asciidoctor, for example -`docker run --rm --tty --user "$(id -u)" --volume "${PWD}":/documents vshn/asciidoctor-epub3:1.14.1 file.adoc --destination-dir=./_archive` +`podman run --rm --volume "${PWD}":/documents ghcr.io/vshn/asciidoctor-epub3:1.14.1 file.adoc --destination-dir=./_archive` == Default Attributes