Update Ansible facts profiler to version 1.1.0 #266
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 Stack | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
- release/* | |
env: | |
DOCKER_COMPOSE_COMMAND: docker compose | |
jobs: | |
build-and-push-awx: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build AWX Task docker image | |
working-directory: ./stack/build | |
run: $DOCKER_COMPOSE_COMMAND build --no-cache awx-task | |
- name: Login to Docker Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{github.actor}} | |
password: ${{secrets.GITHUB_TOKEN}} | |
- name: Push docker image | |
working-directory: ./stack/build | |
run: $DOCKER_COMPOSE_COMMAND push awx-task | |
build-and-push: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
strategy: | |
matrix: | |
service: | |
- aas-broker | |
- aas-gui | |
- awx-postgres | |
- keycloak | |
- vault | |
- prometheus | |
- config-exporter | |
- installer | |
- uninstaller | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build docker image | |
working-directory: ./stack/build | |
run: $DOCKER_COMPOSE_COMMAND build --no-cache ${{ matrix.service }} | |
- name: Login to Docker Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{github.actor}} | |
password: ${{secrets.GITHUB_TOKEN}} | |
- name: Push docker image | |
working-directory: ./stack/build | |
run: $DOCKER_COMPOSE_COMMAND push ${{ matrix.service }} |