Do not cache quiz questions during tests (#719) #311
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
name: Build images | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-landscape2-image: | |
if: github.ref == 'refs/heads/main' | |
runs-on: | |
labels: ubuntu-latest-8-cores | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Login to AWS Public ECR | |
uses: docker/login-action@v3 | |
with: | |
registry: public.ecr.aws | |
username: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
- name: Build and push image | |
run: | | |
docker build -f crates/cli/Dockerfile -t public.ecr.aws/g6m3a0y9/landscape2:latest . | |
docker push public.ecr.aws/g6m3a0y9/landscape2:latest |