Skip to content

Commit

Permalink
fix: removed architecture prefix from container names
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx authored and ronaldtse committed Jul 21, 2024
1 parent c8a4cef commit 9486204
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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-<container_tag>:latest
docker pull ghcr.io/tamatebako/tebako-<container_tag>:latest
----
+
Replace `<container_tag>` with the desired tag (e.g., `ubuntu-20.04` or `alpine-3.17`).
Expand All @@ -43,7 +43,7 @@ Replace `<container_tag>` with the desired tag (e.g., `ubuntu-20.04` or `alpine-
+
[source,sh]
----
docker run -it --rm -v <application_folder>:/mnt/w ghcr.io/tamatebako/amd64-tebako-<container_tag>:latest bash
docker run -it --rm -v <application_folder>:/mnt/w ghcr.io/tamatebako/tebako-<container_tag>:latest bash
----
+
Again, replace `<container_tag>` with the appropriate tag and <application_folder> with the path to your application folder.
Expand All @@ -58,7 +58,7 @@ tebako press <tebako press parameters>
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-<container_tag>:latest bash
docker run -it --rm -v $PWD:/mnt/w ghcr.io/tamatebako/tebako-<container_tag>:latest bash
# Inside the container:
tebako press --root=/mnt/w/fontist --entry-point=fontist --output=/mnt/w/fontist-package --Ruby=3.2.4
----
Expand All @@ -70,13 +70,13 @@ This command mounts the GitHub workspace into the container and runs the `tebako

[source,sh]
----
docker run -v <application_folder>:/mnt/w -t ghcr.io/tamatebako/amd64-tebako-<container_tag>:latest \
docker run -v <application_folder>:/mnt/w -t ghcr.io/tamatebako/tebako-${{ container_tag }}:latest \
tebako press <tebako press parameters>
----
+
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
----

0 comments on commit 9486204

Please sign in to comment.