Skip to content

Commit 1be7092

Browse files
committed
try 1k-off/action-oras-push@v1
1 parent 0086072 commit 1be7092

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/docs.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,23 @@ jobs:
8080
- name: Run ORAS
8181
run: oras version
8282

83+
# push? we need to do it ourselves or use
84+
# https://github.com/marketplace/actions/oras-push-action
85+
# https://github.com/1k-off/action-oras-push
86+
87+
# Push artifacts using ORAS
88+
- name: Push Artifacts
89+
uses: 1k-off/action-oras-push@v1
90+
with:
91+
registry: ${{env.REGISTRY}}
92+
username: ${{ github.actor }}
93+
password: ${{ secrets.GITHUB_TOKEN }}
94+
repository: ${{env.IMAGE_NAME}}
95+
tag: v1.0.0
96+
files: |
97+
./docs/build/
98+
manifest-annotations: "key1=value1,key2=value2"
99+
83100
# - uses: oras-project/oras-action/login@v1
84101
# with:
85102
# registry: ${{ env.REGISTRY }}

0 commit comments

Comments
 (0)