Skip to content

chore(deps): update dependency openstacksdk to v3 #104

chore(deps): update dependency openstacksdk to v3

chore(deps): update dependency openstacksdk to v3 #104

---
name: Build ansible base container image
"on":
workflow_dispatch:
push:
paths:
- .github/workflows/build-ansible-base-container-image.yml
- environments/ansible/base/**
branches:
- main
pull_request:
paths:
- .github/workflows/build-ansible-base-container-image.yml
- environments/ansible/base/**
jobs:
build-ansible-base-container-image:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- 7.1.0
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: ansible/base
REPOSITORY: thecloudsphere/ansible/base
VERSION: ${{ matrix.version }}
- name: Push container image
run: |
scripts/push.sh
env:
DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
IMAGE: ansible/base
REPOSITORY: thecloudsphere/ansible/base
VERSION: ${{ matrix.version }}
if: |
github.repository == 'thecloudsphere/registry' &&
github.ref == 'refs/heads/main'