chore(deps): update terraform null to v3.2.3 #104
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Build terraform openstack container image | |
"on": | |
workflow_dispatch: | |
push: | |
paths: | |
- .github/workflows/build-terraform-openstack-container-image.yml | |
- environments/terraform/openstack/** | |
branches: | |
- main | |
pull_request: | |
paths: | |
- .github/workflows/build-terraform-openstack-container-image.yml | |
- environments/terraform/openstack/** | |
jobs: | |
build-terraform-openstack-container-image: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: | |
- 1.4.6 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup docker | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to container registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ${{ secrets.DOCKER_REGISTRY }} | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
if: github.ref == 'refs/heads/main' | |
- name: Build container image | |
run: scripts/build.sh | |
env: | |
DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }} | |
IMAGE: terraform/openstack | |
REPOSITORY: thecloudsphere/terraform/openstack | |
VERSION: ${{ matrix.version }} | |
- name: Push container image | |
run: | | |
scripts/push.sh | |
env: | |
DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }} | |
IMAGE: terraform/openstack | |
REPOSITORY: thecloudsphere/terraform/openstack | |
VERSION: ${{ matrix.version }} | |
if: | | |
github.repository == 'thecloudsphere/registry' && | |
github.ref == 'refs/heads/main' |