Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/devel_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Build/Push Development Images
env:
LC_ALL: "C.UTF-8" # prevent ERROR: Ansible could not initialize the preferred locale: unsupported locale setting
DOCKER_CACHE: "--no-cache" # using the cache will not rebuild git requirements and other things
DOWNSTREAM_REPO: "ansible/tower"
QUAY_OWNER: "aap"
on:
workflow_dispatch:
push:
Expand All @@ -24,6 +26,8 @@ jobs:
build-targets:
- image-name: awx_devel
make-target: docker-compose-buildx
- image-name: tower_devel
make-target: docker-compose-buildx
- image-name: awx_kube_devel
make-target: awx-kube-dev-buildx
- image-name: awx
Expand Down Expand Up @@ -53,12 +57,22 @@ jobs:
env:
OWNER: '${{ github.repository_owner }}'

- name: Overwrite DEV_DOCKER_TAG_BASE to Quay registry
run: |
echo "DEV_DOCKER_TAG_BASE=quay.io/${{ env.QUAY_OWNER }}" >> $GITHUB_ENV
if: matrix.build-targets.image-name == 'tower_devel'

- uses: ./.github/actions/setup-python

- name: Log in to registry
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Log in to Quay
run: |
echo "${{ secrets.QUAY_TOKEN }}" | docker login quay.io -u ${{ secrets.QUAY_USER }} --password-stdin
if: matrix.build-targets.image-name == 'tower_devel'

- name: Setup node and npm for the new UI build
uses: actions/setup-node@v2
with:
Expand Down
Loading