Skip to content

Commit

Permalink
chore: Update Packer and setup qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Nov 7, 2022
1 parent 7d97392 commit 2a914da
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,26 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.7

- name: Set up packer and dependencies
run: |
wget https://releases.hashicorp.com/packer/1.8.0/packer_1.8.0_linux_amd64.zip
unzip packer_1.8.0_linux_amd64.zip
wget https://releases.hashicorp.com/packer/1.8.3/packer_1.8.3_linux_amd64.zip
unzip packer_1.8.3_linux_amd64.zip
pip install -r requirements.txt
- name: Build Base Image
run: |
.bin/build-base.sh
- name: Save Base Image
run: |
docker save -o /tmp/base-image.tar toolisticon/base-builder-image
- name: Upload Base Image
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 2a914da

Please sign in to comment.