migrate to github docker registry #22
Workflow file for this run
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 PR pushes | |
name: PR push | |
on: | |
push: | |
branches-ignore: | |
- '*' | |
pull_request: | |
branches: | |
- 'master' | |
paths-ignore: | |
- '.gitignore' | |
- 'docker-compose.yml' | |
- 'LICENSE' | |
- '**.md' | |
jobs: | |
build_test_publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Build Image on amd64 | |
run: | | |
echo "Building image ghcr.io/vroom-project/vroom-docker:latest" | |
docker build --tag ghcr.io/vroom-project/vroom-docker:latest . | |
- name: Test tagged amd64 image | |
run : | | |
sudo /bin/bash -c "./tests/test.sh ghcr.io/vroom-project/vroom-docker:latest" |