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 8124237 commit 7d47dacCopy full SHA for 7d47dac
.github/workflows/build.yml
@@ -0,0 +1,27 @@
1
+name: Build Workflow
2
+on:
3
+ push:
4
+ tags: # Build on tag creation (any)
5
+ - *
6
+jobs:
7
+ test-n-lint:
8
+ uses: ./.github/workflows/test-n-lint.yml
9
+ build:
10
+ name: Build the image
11
+ runs-on: ubuntu-latest
12
+ needs: [test] # Requires "Test & Lint" workflow to succeed
13
+ steps:
14
+ - name: Set up Docker Buildx
15
+ uses: docker/setup-buildx-action@v3
16
+ - name: Login to Docker Hub
17
+ uses: docker/login-action@v3
18
+ with:
19
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
20
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
21
+ - name: Build and push
22
+ uses: docker/build-push-action@v6
23
24
+ push: true
25
+ tags: ${{ vars.DOCKERHUB_PROJECT }}:latest
26
+ cache-from: type=gha
27
+ cache-to: type=gha,mode=max
0 commit comments