TODO
-
server
: Host of the API Server. -
ca-cert
: CA Certificate of the API Server. -
token
: Service Account token to access kubernetes. -
namespace
: (required) The namespace to create the build resource in.
-
destination
: (required) -
env
: -
serviceAccountName
: Name of the service account in the namespace, defaults todefault
- name: Build Image
id: build
uses: garethjevans/build-action@main
with:
# auth
server: ${{ secrets.SERVER }}
token: ${{ secrets.TOKEN }}
ca_cert: ${{ secrets.CA_CERT }}
namespace: ${{ secrets.NAMESPACE }}
# image config
destination: gcr.io/project-id/name-for-image
env: |
BP_JAVA_VERSION=17
name
: The full name, including sha of the built image.
- name: Do something with image
run:
echo "${{ steps.build.outputs.name }}"
TODO The scripts and documentation in this project are released under the MIT License.
TODO Contributions are welcome! See Contributor's Guide