We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 732a378 commit 6aaf70bCopy full SHA for 6aaf70b
.github/workflows/docker-image.yml
@@ -0,0 +1,22 @@
1
+name: Docker Image CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
11
+ build:
12
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - name: Docker login
18
+ run: docker login -u ${{secrets.DOCKER_USER}} -p ${{secrets.DOCKER_PASSWORD}}
19
+ - name: Build the Docker image
20
+ run: docker build . --file Dockerfile --tag ${{secrets.DOCKER_USER}}/depex
21
+ - name: Push the Docker image
22
+ run: docker push ${{secrets.DOCKER_USER}}/depex
0 commit comments