File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,20 +12,20 @@ jobs:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : Check Out Repo
15- uses : actions/checkout@v2
15+ uses : actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
1616
1717 - name : " Setup buildx"
18- uses : docker/setup-buildx-action@v1
18+ uses : docker/setup-buildx-action@f211e3e9ded2d9377c8cadc4489a4e38014bc4c9 # v1
1919
2020 - name : " Login into ghcr"
21- uses : docker/login-action@v1
21+ uses : docker/login-action@dd4fa0671be5250ee6f50aedf4cb05514abda2c7 # v1
2222 with :
2323 registry : ghcr.io
2424 username : ${{ github.actor }}
2525 password : ${{ secrets.GITHUB_TOKEN }}
2626
2727 - name : " Build image"
28- uses : docker/build-push-action@v2
28+ uses : docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a # v2
2929 with :
3030 context : .
3131 push : true
Original file line number Diff line number Diff line change 1- FROM python:3.8-slim-buster
1+ FROM python:3.8-slim-buster@sha256:8799b0564103a9f36cfb8a8e1c562e11a9a6f2e3bb214e2adc23982b36a04511
22
33WORKDIR /app
44
Original file line number Diff line number Diff line change 11services :
22 grafana :
3- image : ' grafana/grafana-oss'
3+ image : ' grafana/grafana-oss@sha256:9e1e77ade304069aee3196e9a4f210830e96e80ce9a2640891eccc324b152faf '
44 ports :
55 - " 3000:3000"
66 links :
77 - prometheus
88 dns :
99 - 8.8.8.8
1010 prometheus :
11- image : ' prom/prometheus'
11+ image : ' prom/prometheus@sha256:1f0f50f06acaceb0f5670d2c8a658a599affe7b0d8e78b898c1035653849a702 '
1212 volumes :
1313 - ./prometheus/:/etc/prometheus/
1414 command :
@@ -18,7 +18,7 @@ services:
1818 links :
1919 - traffic
2020 traffic :
21- image : ' ghcr.io/grafana/github-traffic'
21+ image : ' ghcr.io/grafana/github-traffic@sha256:94a9546415e019484a5d3197138148d3ffcb17842c8e852584f03a9848e6f407 '
2222 ports :
2323 - " 8001:8001"
2424 env_file :
You can’t perform that action at this time.
0 commit comments