Skip to content

Commit

Permalink
feat(ci): automate docker hub container description (denoland#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbdl authored Jul 3, 2024
1 parent cfb4afc commit 58fcbb5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ jobs:
docker pull --platform linux/amd64 denoland/deno:${{ matrix.kind }}
docker pull --platform linux/arm64 denoland/deno:${{ matrix.kind }}-${{ github.ref_name }}
docker pull --platform linux/arm64 denoland/deno:${{ matrix.kind }}
- name: Push bin image
if: github.repository == 'denoland/deno_docker' && github.ref_type == 'tag' && matrix.kind == 'debian'
run: |
Expand All @@ -148,3 +149,12 @@ jobs:
docker pull --platform linux/amd64 denoland/deno:latest
docker pull --platform linux/arm64 denoland/deno:${{ github.ref_name }}
docker pull --platform linux/arm64 denoland/deno:latest
- name: Update Docker Hub Description
if: github.repository == 'denoland/deno_docker' && github.ref_type == 'tag' && matrix.kind == 'debian' # Only on a tag and once per run (on debian run)
uses: peter-evans/dockerhub-description@e98e4d1628a5f3be2be7c231e50981aee98723ae # v4.0.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: denoland/deno
short-description: ${{ github.event.repository.description }}

0 comments on commit 58fcbb5

Please sign in to comment.