diff --git a/.forgejo/actions/artifact-upload/action.yml b/.forgejo/actions/artifact-upload/action.yml new file mode 100644 index 0000000..1007ae8 --- /dev/null +++ b/.forgejo/actions/artifact-upload/action.yml @@ -0,0 +1,15 @@ +--- +inputs: + name: + default: artifact.tar + description: Artifact name + path: + description: Paths of the file or directory with the data + required: true +runs: + using: composite + steps: + - name: collect + run: true + - name: upload + run: true \ No newline at end of file diff --git a/.forgejo/workflows/container-build.yml b/.forgejo/workflows/container-build.yml index a244a0e..251d444 100644 --- a/.forgejo/workflows/container-build.yml +++ b/.forgejo/workflows/container-build.yml @@ -13,7 +13,8 @@ jobs: steps: - run: kc.sh build working-directory: /opt/keycloak/ - - uses: actions/upload-artifact@v3 + - id: local-upload + uses: ./.forgejo/actions/artifact-upload with: - name: keycloak-dir - path: /opt/keycloak/ + name: keycloak.tar + path: /opt/keycloak \ No newline at end of file