Skip to content

Commit

Permalink
Switch Docker refs to ghcr.io; fix latest tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
dpb587 committed Feb 9, 2022
1 parent 7dd9cba commit 10b18ba
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ jobs:
- name: Publish Images
run: |
for tag in \
${{ steps.prepare.outputs.version }} \
$( echo "${{ steps.prepare.outputs.version }}" | cut -d. -f1-2 ) \
$( echo "${{ steps.prepare.outputs.version }}" | cut -d. -f1 ) \
v${{ steps.prepare.outputs.version }} \
v$( echo "${{ steps.prepare.outputs.version }}" | cut -d. -f1-2 ) \
v$( echo "${{ steps.prepare.outputs.version }}" | cut -d. -f1 ) \
latest \
; do
fqimagetag="${{ steps.prepare.outputs.image }}:v$tag"
fqimagetag="${{ steps.prepare.outputs.image }}:$tag"
docker tag image $fqimagetag
docker push $fqimagetag
done
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ brew install dpb587/tap/gget
The `gget` image can be used as a build stage to download assets for a later stage.

```dockerfile
FROM dpb587/gget as gget
FROM ghcr.io/dpb587/gget/gget as gget
RUN gget --executable github.com/cloudfoundry/bosh-cli --ref-version=5.x bosh=bosh-cli-*-linux-amd64
RUN gget --executable github.com/cloudfoundry/bosh-bootloader bbl=bbl-*_linux_x86-64
RUN gget --stdout github.com/pivotal-cf/om om-linux-*.tar.gz | tar -xzf- om
Expand Down
6 changes: 6 additions & 0 deletions docs/releases/v0.6.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: v0.6.1
weight: 6001
---

* fix automated Docker build tagging
2 changes: 1 addition & 1 deletion website/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ fi</code></pre>
<p class="mt-3 text-lg leading-7 text-gray-800">
A <code>gget</code> Docker image is available and easily integrates as a build stage for downloads. It includes tools for decompressing archives, and the default working directory is <code>/result</code> for access in later stages.
</p>
<pre class="my-3 -mx-4"><code>FROM dpb587/gget as gget
<pre class="my-3 -mx-4"><code>FROM ghcr.io/dpb587/gget/gget as gget
RUN gget github.com/cloudfoundry/bosh-cli --ref-version=5.x \
--executable bosh=bosh-cli-*-linux-amd64
RUN gget github.com/cloudfoundry/bosh-bootloader \
Expand Down

0 comments on commit 10b18ba

Please sign in to comment.