release 1.14.0-rc.1 (#75) #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# only builds and tests on master pushes | |
name: Master push | |
on: | |
push: | |
branches: | |
- 'master' | |
paths-ignore: | |
- '.gitignore' | |
- 'docker-compose.yml' | |
- 'LICENSE' | |
- '**.md' | |
jobs: | |
build_test_publish: | |
strategy: | |
matrix: | |
arch: [linux/arm64, linux/amd64] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Build Image | |
run: | | |
echo "Building image vroomvrp/vroom-docker:latest" | |
docker buildx build --load --platform ${{ matrix.arch }} --tag vroomvrp/vroom-docker:latest . | |
- name: Test tagged image | |
if: matrix.arch == 'linux/amd64' | |
run : | | |
sudo /bin/bash -c "./tests/test.sh vroomvrp/vroom-docker:latest" |