FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
node_exporter/.github/workflows/container_description.yml at master · prometheus/node_exporter · GitHub
prometheus
/
node_exporter
Public
Notifications
You must be signed in to change notification settings
Fork
2.7k
Star
13.8k
Code
Issues
217
Pull requests
103
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
node_exporter
/
.github
/
workflows
/
container_description.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
64 lines (61 loc) · 2.48 KB
Breadcrumbs
node_exporter
/
.github
/
workflows
/
container_description.yml
Copy path
File metadata and controls
64 lines (61 loc) · 2.48 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
#
##
#
This action is synced from https://github.com/prometheus/prometheus
#
##
name
:
Push README to Docker Hub
on
:
push
:
paths
:
-
"
README.md
"
-
"
README-containers.md
"
-
"
.github/workflows/container_description.yml
"
branches
:
[ main, master ]
permissions
:
contents
:
read
jobs
:
PushDockerHubReadme
:
runs-on
:
ubuntu-latest
name
:
Push README to Docker Hub
if
:
github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community'
#
Don't run this workflow on forks.
steps
:
-
name
:
git checkout
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v7.0.1
with
:
persist-credentials
:
false
-
name
:
Set docker hub repo name
run
:
echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV
-
name
:
Push README to Dockerhub
uses
:
christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8
#
v1
env
:
DOCKER_USER
:
${{ secrets.DOCKER_HUB_LOGIN }}
DOCKER_PASS
:
${{ secrets.DOCKER_HUB_PASSWORD }}
with
:
destination_container_repo
:
${{ env.DOCKER_REPO_NAME }}
provider
:
dockerhub
short_description
:
${{ env.DOCKER_REPO_NAME }}
#
Empty string results in README-containers.md being pushed if it
#
exists. Otherwise, README.md is pushed.
readme_file
:
'
'
PushQuayIoReadme
:
runs-on
:
ubuntu-latest
name
:
Push README to quay.io
if
:
github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community'
#
Don't run this workflow on forks.
steps
:
-
name
:
git checkout
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v7.0.1
with
:
persist-credentials
:
false
-
name
:
Set quay.io org name
run
:
echo "DOCKER_REPO=$(echo quay.io/${GITHUB_REPOSITORY_OWNER} | tr -d '-')" >> $GITHUB_ENV
-
name
:
Set quay.io repo name
run
:
echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV
-
name
:
Push README to quay.io
uses
:
christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8
#
v1
env
:
DOCKER_APIKEY
:
${{ secrets.QUAY_IO_API_TOKEN }}
with
:
destination_container_repo
:
${{ env.DOCKER_REPO_NAME }}
provider
:
quay
#
Empty string results in README-containers.md being pushed if it
#
exists. Otherwise, README.md is pushed.
readme_file
:
'
'
Back
|
FazBrowse Home
|
New Git URL