Skip to content

Commit

Permalink
build: add riscv- prefix to dockerhub repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ngc7331 committed Nov 30, 2024
1 parent 5e98255 commit 595c880
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
id: meta
uses: docker/[email protected]
with:
images: ${{ secrets.DOCKERHUB_USER }}/acme.sh
images: ${{ secrets.DOCKERHUB_USER }}/riscv-acme.sh

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -42,7 +42,7 @@ jobs:

- name: Build and push
run: |
REPOS=" \
${{ secrets.DOCKERHUB_USER }}/acme.sh \
REPOS="\
${{ secrets.DOCKERHUB_USER }}/riscv-acme.sh \
ghcr.io/${{ github.repository }} \
" ./build-docker-riscv.sh
2 changes: 1 addition & 1 deletion build-docker-riscv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

VERSION=$(cat ./acme.sh | grep 'VER=' | cut -d '=' -f 2 | tr -d '"')

REPOS=(${REPOS:-ngc7331/acme.sh})
REPOS=(${REPOS:-ngc7331/riscv-acme.sh})
TAGS=()
for repo in ${REPOS[@]}; do
TAGS+=("-t ${repo,,}:${VERSION}")
Expand Down

0 comments on commit 595c880

Please sign in to comment.