Skip to content

Bump actions/checkout from 4.1.0 to 4.1.1 (#316) #293

Bump actions/checkout from 4.1.0 to 4.1.1 (#316)

Bump actions/checkout from 4.1.0 to 4.1.1 (#316) #293

name: Archlinuxarm armv8 docker
on:
push:
branches: [ master ]
schedule:
# once a week
- cron: '0 0 * * 1'
jobs:
build:
name: Push archlinuxarm-armv7 image to docker registry
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
uses: actions/[email protected]
with:
go-version: '1.21'
id: go
- name: Check out code into the Go module directory
uses: actions/[email protected]
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Fetch additional packages
run: |
sudo apt-get update
sudo apt-get install fdisk gdisk qemu-user-static libarchive-tools tar
- name: Build
run: go build -v .
- name: Install Packer
uses: hashicorp-contrib/setup-packer@v2
with:
packer-version: 1.9.4
- name: Build image
run: sudo packer build -var docker_user=$docker_user -var docker_password=$docker_password -var docker_repository=$docker_repository boards/armv8/archlinuxarm-docker.json
env:
docker_user: ${{ secrets.docker_user }}
docker_password: ${{ secrets.docker_password }}
docker_repository: mkaczanowski/archlinuxarm