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 21a6e5e commit 9132382Copy full SHA for 9132382
.github/workflows/build.yml
@@ -0,0 +1,27 @@
1
+name: Build Workflow
2
+
3
+jobs:
4
+ docker:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - uses: actions/checkout@v4
8
9
+ - uses: docker/setup-buildx-action@v3
10
+ name: Set up Docker Buildx
11
12
+ - uses: docker/login-action@v3
13
+ name: Login to DockerHub
14
+ with:
15
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
16
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
17
18
+ - uses: docker/build-push-action@v6
19
+ name: Build and Push WebApp Image
20
+ id: docker_build
21
22
+ context: .
23
+ push: true
24
+ tags: orgsinfo/webapp2:${{ github.ref_name }}
25
26
+ - name: WebApp Image Digest
27
+ run: echo ${{ steps.docker_build.outputs.digest }}
0 commit comments