From 70c99a72704ee6bc73964b586153effd4991ca67 Mon Sep 17 00:00:00 2001 From: "Maxim [maxirmx] Samsonov" Date: Sun, 21 Jul 2024 13:34:04 +0300 Subject: [PATCH] fix: removed architecture prefix from container names --- .github/workflows/build-containers.yml | 6 +++--- README.adoc | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-containers.yml b/.github/workflows/build-containers.yml index c3127c6..c9c73ec 100644 --- a/.github/workflows/build-containers.yml +++ b/.github/workflows/build-containers.yml @@ -41,7 +41,7 @@ jobs: uses: docker/metadata-action@v5 with: images: | - ghcr.io/tamatebako/amd64-tebako-${{ matrix.container }} + ghcr.io/tamatebako/tebako-${{ matrix.container }} tags: | type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} @@ -89,7 +89,7 @@ jobs: - '3.1.6' - '3.2.4' container: - image: ghcr.io/tamatebako/amd64-tebako-${{ matrix.container }}:latest + image: ghcr.io/tamatebako/tebako-${{ matrix.container }}:latest steps: - name: Checkout fontist @@ -130,7 +130,7 @@ jobs: - name: Package fontist run: | - docker run -v ${{github.workspace}}:/mnt/w -t ghcr.io/tamatebako/amd64-tebako-${{ matrix.container }}:latest \ + docker run -v ${{github.workspace}}:/mnt/w -t ghcr.io/tamatebako/tebako-${{ matrix.container }}:latest \ tebako press --root=/mnt/w/fontist --entry-point=fontist --output=/mnt/w/fontist-package --Ruby=${{ matrix.package_ruby_ver }} - name: Run smoke test Ubuntu diff --git a/README.adoc b/README.adoc index b130cb7..220deab 100644 --- a/README.adoc +++ b/README.adoc @@ -34,7 +34,7 @@ To package your application from inside the Tebako container, follow these steps [source,sh] ---- -docker pull ghcr.io/tamatebako/amd64-tebako-:latest +docker pull ghcr.io/tamatebako/tebako-:latest ---- + Replace `` with the desired tag (e.g., `ubuntu-20.04` or `alpine-3.17`). @@ -43,7 +43,7 @@ Replace `` with the desired tag (e.g., `ubuntu-20.04` or `alpine- + [source,sh] ---- -docker run -it --rm -v :/mnt/w ghcr.io/tamatebako/amd64-tebako-:latest bash +docker run -it --rm -v :/mnt/w ghcr.io/tamatebako/tebako-:latest bash ---- + Again, replace `` with the appropriate tag and with the path to your application folder. @@ -58,7 +58,7 @@ tebako press For example, assuming that you have a Ruby application in the `fontist` folder of the current folder, you can package it to ./fontist-package using the following command: [source,sh] ---- -docker run -it --rm -v $PWD:/mnt/w ghcr.io/tamatebako/amd64-tebako-:latest bash +docker run -it --rm -v $PWD:/mnt/w ghcr.io/tamatebako/tebako-:latest bash # Inside the container: tebako press --root=/mnt/w/fontist --entry-point=fontist --output=/mnt/w/fontist-package --Ruby=3.2.4 ---- @@ -70,13 +70,13 @@ This command mounts the GitHub workspace into the container and runs the `tebako [source,sh] ---- -docker run -v :/mnt/w -t ghcr.io/tamatebako/amd64-tebako-:latest \ +docker run -v :/mnt/w -t ghcr.io/tamatebako/tebako-${{ container_tag }}:latest \ tebako press ---- + For example, assuming that you have a Ruby application in the `fontist` folder of the current folder, you can package it to ./fontist-package using the following command: [source,sh] ---- - docker run -v $PWD:/mnt/w -t ghcr.io/tamatebako/amd64-tebako-ubuntu-20.04:latest \ + docker run -v $PWD:/mnt/w -t ghcr.io/tamatebako/tebako-ubuntu-20.04:latest \ tebako press --root=/mnt/w/fontist --entry-point=fontist --output=/mnt/w/fontist-package --Ruby=3.2.4 ----