forked from snowdreamtech/base
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1.15 KB
/
description.yml
File metadata and controls
37 lines (35 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: GitHub Actions Description Updater
on:
push:
branches:
- main
paths:
- README.md
- .github/workflows/description.yml
jobs:
dockerHubDescription:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.1
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_SECRET }}
- name: Docker Hub Description
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKER_HUB_TOKEN }}
with:
destination_container_repo: snowdreamtech/python
provider: dockerhub
short_description: ${{ github.event.repository.description }}
readme_file: "README.md"
# - name: Quay.io Description
# uses: christian-korneck/update-container-description-action@v1
# env:
# DOCKER_APIKEY: ${{ secrets.QUAY_API_TOKEN }}
# with:
# destination_container_repo: quay.io/snowdreamtech/python
# provider: quay
# readme_file: "README.md"