.github/workflows/prometheus.yaml: update
This commit is contained in:
parent
d07d256d9d
commit
4eb548dddd
4
.github/workflows/prometheus.yaml
vendored
4
.github/workflows/prometheus.yaml
vendored
@ -17,6 +17,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: get /usr/share/zoneinfo/Asia/Shanghai
|
||||||
|
shell: cp /usr/share/zoneinfo/Asia/Shanghai zoneinfo-Shanghai
|
||||||
|
working-directory: oci/prometheus/
|
||||||
|
|
||||||
- name: 'Artifact: build && push alpine with custom ca image'
|
- name: 'Artifact: build && push alpine with custom ca image'
|
||||||
uses: aevea/action-kaniko@master
|
uses: aevea/action-kaniko@master
|
||||||
with:
|
with:
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
FROM quay.io/prometheus/prometheus:v2.48.1
|
FROM quay.io/prometheus/prometheus:v2.48.1
|
||||||
|
|
||||||
COPY /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
COPY zoneinfo-Shanghai /etc/localtime
|
||||||
|
|
||||||
USER nobody
|
USER nobody
|
||||||
EXPOSE 9090
|
EXPOSE 9090
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user