Skip to content

Commit

Permalink
export env
Browse files Browse the repository at this point in the history
  • Loading branch information
CoryManson committed Jan 9, 2024
1 parent 296af30 commit b53a565
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go 1.21
uses: actions/[email protected]
with:
go-version: '1.21'
id: go

- name: Install apt dependencies
run: |
Expand All @@ -20,18 +26,13 @@ jobs:
- name: Install packer-builder-arm
run: |
# mkdir -p $HOME/.config/packer/plugins
# cd $HOME/.config/packer/plugins
cd /usr/local/bin
mkdir -p $HOME/.config/packer/plugins
cd $HOME/.config/packer/plugins
git clone https://github.com/mkaczanowski/packer-builder-arm
cd packer-builder-arm
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
sudo go mod download
sudo go build -v .
go mod download
go build -v .
export PACKER_PLUGIN_PATH=$HOME/.config/packer/plugins
- name: Packer init
run: |
Expand Down

0 comments on commit b53a565

Please sign in to comment.