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 72296d8 commit 4248e25Copy full SHA for 4248e25
.github/workflows/release.yaml
@@ -18,8 +18,9 @@ jobs:
18
steps:
19
- name: Checkout
20
uses: actions/[email protected]
21
- - name: Unshallow
22
- run: git fetch --prune --unshallow
+ - name: Set output
+ id: vars
23
+ run: echo "tag=$(git describe --tags)" >> $GITHUB_OUTPUT
24
- name: Set up Go
25
uses: actions/setup-go@v3
26
with:
@@ -31,6 +32,12 @@ jobs:
31
32
args: release --rm-dist
33
env:
34
GITHUB_TOKEN: ${{ secrets.GH_PUBLISH_SECRETS }}
35
+ - name: Upload via oras
36
+ if: github.ref != 'refs/heads/master'
37
+ run: |
38
+ export TAG=${{ steps.vars.outputs.tag }}
39
+ oras push ${{ env.REGISTRY_DOCKERHUB }}/linuxsuren/atest-ext-store-orm:${TAG#v} dist
40
+ oras push ${{ env.REGISTRY }}/linuxsuren/atest-ext-store-orm:${TAG#v} dist
41
42
image:
43
runs-on: ubuntu-20.04
0 commit comments