Skip to content

Commit a56aa61

Browse files
authored
Fix 'Build and Push' GitHub Action. (#59)
1 parent 5822abf commit a56aa61

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ jobs:
2121
ANSIBLE_CHATBOT_VERSION: ${{ github.event.inputs.version }}
2222

2323
steps:
24-
- name: Set up QEMU
25-
uses: docker/setup-qemu-action@v3
26-
27-
- name: Set up Docker Buildx
28-
uses: docker/setup-buildx-action@v3
29-
with:
30-
driver-opts: network=host
31-
3224
- name: Login to Quay
3325
uses: docker/login-action@v3
3426
with:
@@ -53,24 +45,12 @@ jobs:
5345
run: |
5446
make setup
5547
56-
- name: Base Ansible Chatbot Stack Build
57-
run: |
58-
export LLAMA_STACK_VERSION=$(cat requirements.txt | grep llama-stack== | cut -c 14-)
59-
export PYPI_VERSION=$LLAMA_STACK_VERSION
60-
echo "LLAMA_STACK_VERSION=$LLAMA_STACK_VERSION" >> "$GITHUB_ENV"
61-
make build
62-
docker tag docker.io/library/ansible-chatbot-stack-base:$LLAMA_STACK_VERSION localhost:5000/ansible-chatbot-stack-base:$LLAMA_STACK_VERSION
63-
docker push localhost:5000/ansible-chatbot-stack-base:$LLAMA_STACK_VERSION
64-
6548
- name: Ansible Chatbot Stack Build and Push
6649
uses: docker/build-push-action@v6
6750
with:
6851
file: Containerfile
6952
push: true
7053
tags: quay.io/ansible/ansible-chatbot-stack:latest,quay.io/ansible/ansible-chatbot-stack:${{ env.ANSIBLE_CHATBOT_VERSION }}
71-
build-args: |
72-
ANSIBLE_CHATBOT_BASE_IMAGE=localhost:5000/ansible-chatbot-stack-base
73-
LLAMA_STACK_VERSION=${{ env.LLAMA_STACK_VERSION }}
7454

7555
- name: Create GitHub Repository Tag
7656
id: create_gh_repo_tag

0 commit comments

Comments
 (0)