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 1a2ef64 commit f2ca04eCopy full SHA for f2ca04e
.github/workflows/deploy-docker.yml
@@ -1,8 +1,8 @@
1
name: Publish Docker image
2
on:
3
push:
4
- tags:
5
- - "*"
+ branches:
+ - main
6
workflow_dispatch:
7
8
env:
@@ -30,6 +30,10 @@ jobs:
30
31
BASE_URL: "./"
32
33
+ - uses: nyaa8/package-version@v1
34
+ with:
35
+ path: "packages/gephi-lite/package.json"
36
+
37
- name: Log in to Docker Hub
38
uses: docker/login-action@v3
39
with:
@@ -49,7 +53,8 @@ jobs:
49
53
context: .
50
54
file: ./Dockerfile
51
55
push: true
52
- tags: ${{ steps.meta.outputs.tags }}
56
+ addLatest: true
57
+ tags: ${{ env.PACKAGE_VERSION }}
58
labels: ${{ steps.meta.outputs.labels }}
59
60
- name: Generate artifact attestation
0 commit comments