diff --git a/.github/workflows/dogfood.yaml b/.github/workflows/dogfood.yaml index 0e0e294934c57..28fe7f6fa9e2e 100644 --- a/.github/workflows/dogfood.yaml +++ b/.github/workflows/dogfood.yaml @@ -21,6 +21,14 @@ jobs: id: branch-name uses: tj-actions/branch-names@v5.4 + - name: "Branch name to Docker tag name" + id: docker-tag-name + run: | + tag=${{ steps.branch-name.outputs.current_branch }} + # Replace / with --, e.g. user/feature => user--feature. + tag=${tag//\//--} + echo "::set-output name=tag::${tag}" + - name: Set up QEMU uses: docker/setup-qemu-action@v2 @@ -38,6 +46,6 @@ jobs: with: context: "{{defaultContext}}:dogfood" push: true - tags: "codercom/oss-dogfood:${{ steps.branch-name.outputs.current_branch }},codercom/oss-dogfood:latest" + tags: "codercom/oss-dogfood:${{ steps.docker-tag-name.outputs.tag }},codercom/oss-dogfood:latest" cache-from: type=registry,ref=codercom/oss-dogfood:latest cache-to: type=inline
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: