Skip to content

Commit

Permalink
Bump qemu version to be consistent with buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
d61h6k4 committed Jun 19, 2023
1 parent aa55a9c commit 0832bf6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ jobs:
if: github.event_name != 'pull_request'

- name: Set up QEMU
uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18
uses: docker/setup-qemu-action@v2

- name: Read Poetry Version 🔢
run: |
Expand Down Expand Up @@ -1007,7 +1007,7 @@ jobs:

strategy:
matrix:
image: [default] # , full, mitie-en, spacy-de, spacy-it, spacy-en]
image: [default, full, mitie-en, spacy-de, spacy-it, spacy-en]

steps:
# Due to an issue with checking out a wrong commit, we make sure
Expand All @@ -1024,7 +1024,7 @@ jobs:
if: github.event_name != 'pull_request'

- name: Set up QEMU
uses: docker/setup-qemu-action@e81a89b1732b9c48d79cd809d8d81d79c4647a18
uses: docker/setup-qemu-action@v2

- name: Free disk space
if: needs.changes.outputs.docker == 'true'
Expand All @@ -1049,7 +1049,7 @@ jobs:
run: echo ${{ steps.buildx.outputs.platforms }}

- name: Login to DockerHub Registry 🔢
# if: needs.changes.outputs.docker == 'true'
if: needs.changes.outputs.docker == 'true'
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ env.DOCKERHUB_USERNAME }} --password-stdin || true

- name: Copy Segment write key to the package
Expand All @@ -1061,12 +1061,12 @@ jobs:
./scripts/write_keys_file.sh
- name: Build Docker image
# if: needs.changes.outputs.docker == 'true'
if: needs.changes.outputs.docker == 'true'
run: |
docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl ${{ matrix.image }}
- name: Push image with main tag 📦
# if: needs.changes.outputs.docker == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'RasaHQ/rasa'
if: needs.changes.outputs.docker == 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'RasaHQ/rasa'
run: |
docker buildx bake --set *.platform=linux/amd64,linux/arm64 -f docker/docker-bake.hcl ${{ matrix.image }} --push
Expand Down

0 comments on commit 0832bf6

Please sign in to comment.