Skip to content

Commit

Permalink
Update devel_images.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealHaoLiu committed Feb 21, 2024
1 parent 7caca60 commit 31b1445
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/devel_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
- feature_*
jobs:
push-development-images:
runs-on: ubuntu-latest
timeout-minutes: 120
permissions:
packages: write
Expand All @@ -25,8 +24,9 @@ jobs:
make-target: awx-kube-dev-buildx
- image-name: awx
make-target: awx-kube-buildx
os: [macos-14]
runs-on: ${{ matrix.os }}
steps:

- name: Skipping build of awx image for non-awx repository
run: |
echo "Skipping build of awx image for non-awx repository"
Expand All @@ -35,12 +35,28 @@ jobs:

- uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3

- name: Setup Docker
uses: docker-practice/actions-setup-docker@master
if: matrix.os == 'macos-14'

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Install brew
run:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
if: matrix.os == 'macos-14'

- name: Update bash
run: |
brew install bash
sudo bash -c "echo /usr/local/bin/bash >> /etc/shells"
chsh -s /usr/local/bin/bash
if: matrix.os == 'macos-14'

- name: Set GITHUB_ENV variables
run: |
echo "DEV_DOCKER_TAG_BASE=ghcr.io/${OWNER,,}" >> $GITHUB_ENV
Expand Down

0 comments on commit 31b1445

Please sign in to comment.