-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b29c21
commit 0a2ee7c
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,12 +90,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: echo "AUTO_GOLD_BITS_SHA=$(docker buildx imagetools inspect --format "{{json .Manifest.Digest}}" ghcr.io/leonitousconforti/tinyburg/authproxy:latest | xargs | sed 's/sha256://')" >> $GITHUB_ENV | ||
- run: echo "AUTHPROXY_SHA=$(docker buildx imagetools inspect --format "{{json .Manifest.Digest}}" ghcr.io/leonitousconforti/tinyburg/authproxy:latest | xargs)" >> $GITHUB_ENV | ||
- uses: dokku/github-action@master | ||
with: | ||
ssh_private_key: ${{ secrets.AUTHPROXY_DOKKU_KEY }} | ||
git_remote_url: "ssh://[email protected]:22/authproxy" | ||
deploy_docker_image: ghcr.io/leonitousconforti/tinyburg/authproxy:${{ env.AUTO_GOLD_BITS_SHA }} | ||
deploy_docker_image: ghcr.io/leonitousconforti/tinyburg/authproxy@${{ env.AUTHPROXY_SHA }} | ||
|
||
# In order to deploy the auto-gold-bits docker image, we do the exact same | ||
# steps as we did for the authproxy docker image but using the auto-gold-bits. | ||
|
@@ -107,9 +107,9 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: echo "AUTO_GOLD_BITS_SHA=$(docker buildx imagetools inspect --format "{{json .Manifest.Digest}}" ghcr.io/leonitousconforti/tinyburg/auto-gold-bits:latest | xargs | sed 's/sha256://')" >> $GITHUB_ENV | ||
- run: echo "AUTO_GOLD_BITS_SHA=$(docker buildx imagetools inspect --format "{{json .Manifest.Digest}}" ghcr.io/leonitousconforti/tinyburg/auto-gold-bits:latest | xargs)" >> $GITHUB_ENV | ||
- uses: dokku/github-action@master | ||
with: | ||
ssh_private_key: ${{ secrets.PLAYGROUND_DOKKU_KEY }} | ||
git_remote_url: "ssh://[email protected]:22/auto-gold-bits" | ||
deploy_docker_image: ghcr.io/leonitousconforti/tinyburg/auto-gold-bits:${{ env.AUTO_GOLD_BITS_SHA }} | ||
deploy_docker_image: ghcr.io/leonitousconforti/tinyburg/auto-gold-bits@${{ env.AUTO_GOLD_BITS_SHA }} |