refactor(content): support the new content shape for QA tests #7
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: Docker Image CI | |
on: | |
push: | |
branches: ['master'] | |
pull_request: | |
branches: ['master'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/[email protected] | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Login to docker.01-edu.org Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: docker.01-edu.org | |
username: ${{ secrets.USER_DOCKER_01EDU_ORG }} | |
password: ${{ secrets.SECRET_DOCKER_01EDU_ORG }} | |
- name: Build the GoQa tests Docker image | |
run: | | |
docker build ./go --file go/Dockerfile --tag ghcr.io/01-edu/test-goqa:latest | |
docker push ghcr.io/01-edu/test-goqa:latest |