3.0 KiB
title, intro, permissions, versions, type, topics, shortTitle
| title | intro | permissions | versions | type | topics | shortTitle | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Enabling GitHub Actions with Google Cloud Storage | You can enable {% data variables.product.prodname_actions %} on {% data variables.product.prodname_ghe_server %} and use Google Cloud Storage to store data generated by workflow runs. | Site administrators can enable {% data variables.product.prodname_actions %} and configure enterprise settings. |
|
how_to |
|
Google Cloud Storage |
{% note %}
Note: {% data variables.product.prodname_actions %} support for Google Cloud Storage is currently in beta and subject to change.
{% endnote %}
Prerequisites
Before enabling {% data variables.product.prodname_actions %}, make sure you have completed the following steps:
-
Create your Google Cloud Storage bucket for storing data generated by workflow runs.
-
Create a Google Cloud service account that can access the bucket, and create a Hash-based Message Authentication Code (HMAC) key for the service account. For more information, see "Manage HMAC keys for service accounts" in the Google Cloud documentation.
The service account must have the following Identity and Access Management (IAM) permissions for the bucket:
storage.objects.createstorage.objects.getstorage.objects.liststorage.objects.updatestorage.objects.deletestorage.multipartUploads.createstorage.multipartUploads.abortstorage.multipartUploads.listPartsstorage.multipartUploads.list{% data reusables.actions.enterprise-common-prereqs %}
Enabling {% data variables.product.prodname_actions %} with Google Cloud Storage
{% data reusables.enterprise_site_admin_settings.access-settings %} {% data reusables.enterprise_site_admin_settings.management-console %} {% data reusables.enterprise_management_console.actions %} {% data reusables.actions.enterprise-enable-checkbox %}
-
Under "Artifact & Log Storage", select Google Cloud Storage, and enter your bucket's details:
- Service URL: The service URL for your bucket. This is usually
https://storage.googleapis.com. - Bucket Name: The name of your bucket.
- HMAC Access Id and HMAC Secret: The Google Cloud access ID and secret for your storage account. For more information, see "Manage HMAC keys for service accounts" in the Google Cloud documentation.
{% data reusables.enterprise_management_console.test-storage-button %}
{% data reusables.enterprise_management_console.save-settings %} - Service URL: The service URL for your bucket. This is usually
{% data reusables.actions.enterprise-postinstall-nextsteps %}