Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

GitHub Action for use with the GOV.UK PaaS Cloud Foundry command line interface Docker image.

License

Notifications You must be signed in to change notification settings

alphagov/paas-cf-github-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ARCHIVED

This is not maintained or tested recently.

GitHub Action for GOV.UK PaaS

GitHub Action for use with the GOV.UK PaaS Cloud Foundry command line interface Docker image.

Usage

Without running any cf-cli commands, this action will use cf auth to authenticate with Cloud Foundry.

If you don't set a value for CF_API, the default is https://api.cloud.service.gov.uk.

uses: alphagov/paas-cf/actions/cli@cf7
name: Push to some instance of CloudFoundry  
  run: push --strategy rolling -f manifest.yml # <- Example CF command
  env:
    CF_API: "https://api.example.com"
    CF_ORG: "example-organisation"
    CF_SPACE: "production"
    CF_USERNAME: "username@example.com"
    # Here's how to set CFPassword - https://help.github.com/en/articles/virtual-environments-for-github-actions#creating-and-using-secrets-encrypted-variables
    CF_PASSWORD: ${{ secrets.CFPassword }}

The Action directory is tagged with @cf7, since the master branch of paas-cf doesn't currently use CloudFoundry CLI version 7.

About

GitHub Action for use with the GOV.UK PaaS Cloud Foundry command line interface Docker image.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published