We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de65ab1 commit 6728e8cCopy full SHA for 6728e8c
.github/workflows/image.yaml
@@ -21,7 +21,19 @@ jobs:
21
username: ${{ github.actor }}
22
password: ${{ secrets.GITHUB_TOKEN }}
23
24
+ - name: Build and push Docker image dev
25
+ if: github.ref_name == 'dev'
26
+ uses: docker/build-push-action@v5
27
+ with:
28
+ context: .
29
+ file: ./Dockerfile
30
+ push: true
31
+ build-args: |
32
+ "VERSION=${{ github.sha }}-dev"
33
+ tags: ghcr.io/linalinn/kicad-render:dev
34
+
35
- name: Build and push Docker image
36
+ if: github.ref_name == github.event.repository.default_branch
37
uses: docker/build-push-action@v5
38
with:
39
context: .
0 commit comments