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 47022a4 commit 88026efCopy full SHA for 88026ef
.github/workflows/docker-publish.yml
@@ -0,0 +1,26 @@
1
+name: build and push docker image
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
7
+jobs:
8
+ build-and-push:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: checkout
13
+ uses: actions/checkout@v4
14
15
+ - name: log in to docker hub
16
+ uses: docker/login-action@v3
17
+ with:
18
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
19
+ password: ${{ secrets.DOCKERHUB_SECRET_TOKEN }}
20
21
+ - name: build and push
22
+ uses: docker/build-push-action@v5
23
24
+ context: .
25
+ push: true
26
+ tags: roguepaws/nginx-spa:latest
0 commit comments