Matthew Bell
05/05/2024, 3:41 PMJack P
05/05/2024, 4:35 PMartifact-registry-deployment:
environment: ${{ inputs.environment }}
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Get Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCP_CREDENTIALS }}
- name: Login to Artifact Registry
uses: docker/login-action@v3
with:
registry: <region>-docker.pkg.dev
username: _json_key
password: ${{ secrets.GCP_CREDENTIALS }}
- name: Build & Deploy Image/Deployments
run: ./run helm:deploy-cicd