From 7828c5c42b9dab9ec9a4dfbc3c0c192f9a7f4eb2 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Mon, 7 Aug 2023 19:02:58 +0700 Subject: [PATCH] Publish to Docker Hub --- .github/workflows/on-tag.yml | 6 +++--- readme.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/on-tag.yml b/.github/workflows/on-tag.yml index 1915687..4cbcb2a 100644 --- a/.github/workflows/on-tag.yml +++ b/.github/workflows/on-tag.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - run: docker login --username "${{ github.actor }}" --password ${{ secrets.GITHUB_TOKEN }} ghcr.io + - run: docker login --username "${{ github.actor }}" --password ${{ secrets.DOCKER_HUB_TOKEN }} - run: docker buildx create --use - - run: docker buildx build --platform linux/amd64,linux/arm64 --tag ghcr.io/${{ github.repository }}:${{ github.ref_name }} --push . - - run: docker buildx build --platform linux/amd64,linux/arm64 --tag ghcr.io/${{ github.repository }}:latest --push . + - run: docker buildx build --platform linux/amd64,linux/arm64 --tag ${{ github.repository }}:${{ github.ref_name }} --push . + - run: docker buildx build --platform linux/amd64,linux/arm64 --tag ${{ github.repository }}:latest --push . diff --git a/readme.md b/readme.md index ff21b84..0c66222 100644 --- a/readme.md +++ b/readme.md @@ -108,7 +108,7 @@ You can see it in action here: You can run humanscript in a sandboxed environment via Docker: ```shell -docker run -it ghcr.io/lukechilds/humanscript +docker run -it lukechilds/humanscript ``` Alternatively you can install it natively on your system with Homebrew: