FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
HydroModPy/.github/workflows/docker-build.yml at main · HydroModPy/HydroModPy · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
HydroModPy
/
HydroModPy
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
11
Code
Issues
18
Pull requests
1
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
HydroModPy
/
.github
/
workflows
/
docker-build.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
60 lines (51 loc) · 1.52 KB
Breadcrumbs
HydroModPy
/
.github
/
workflows
/
docker-build.yml
Copy path
File metadata and controls
60 lines (51 loc) · 1.52 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
#
Builds the HydroModPy Docker image on every push/PR touching the Dockerfile
#
or the package source. The image is not pushed to a registry yet, only built
#
locally inside the runner to validate that the multi-stage build still works.
name
:
Docker / Build Smoke
on
:
push
:
branches
:
[main, dev]
paths
:
-
"
Dockerfile
"
-
"
pyproject.toml
"
-
"
hydromodpy/**
"
-
"
.github/workflows/docker-build.yml
"
pull_request
:
branches
:
[main, dev]
paths
:
-
"
Dockerfile
"
-
"
pyproject.toml
"
-
"
hydromodpy/**
"
-
"
.github/workflows/docker-build.yml
"
workflow_dispatch
:
concurrency
:
group
:
${{ github.workflow }}-${{ github.ref }}
cancel-in-progress
:
true
permissions
:
contents
:
read
jobs
:
build
:
name
:
Docker / build and CLI smoke
runs-on
:
ubuntu-latest
timeout-minutes
:
30
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Set up Docker Buildx
uses
:
docker/setup-buildx-action@v3
-
name
:
Build image (no push)
uses
:
docker/build-push-action@v6
with
:
context
:
.
file
:
Dockerfile
push
:
false
load
:
true
tags
:
hydromodpy:ci
cache-from
:
type=gha
cache-to
:
type=gha,mode=max
-
name
:
Smoke test image entrypoints
run
:
|
docker run --rm hydromodpy:ci --help
docker run --rm hydromodpy:ci --version
-
name
:
Run hmp doctor inside image (advisory)
continue-on-error
:
true
run
:
docker run --rm hydromodpy:ci doctor --json
Back
|
FazBrowse Home
|
New Git URL