Skip to content

Commit 9a15cd9

Browse files
authored
Create codev-docker-image.yml
1 parent a1224c7 commit 9a15cd9

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build CoDev Container
2+
3+
on: [workflow_dispatch]]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
11+
- name: Docker Login
12+
# You may pin to the exact commit or the version.
13+
# uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d
14+
uses: docker/[email protected]
15+
with:
16+
registry: registry.gitlab.com
17+
username: ${{DOCKER_USER}}
18+
# Password or personal access token used to log against the Docker registry
19+
password: ${{DOCKER_TOKEN}}
20+
21+
- name: Build the Docker image
22+
run: docker build -t registry.gitlab.com/currax-data-science/generative_deep_learning_2nd_edition:${{github.run_number}} -f docker/Dockerfile.codev .
23+
24+
25+
- name: Push Docker Image
26+
run: docker push registry.gitlab.com/currax-data-science/generative_deep_learning_2nd_edition:${{github.run_number}}
27+
28+

0 commit comments

Comments
 (0)