This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
Create samples for QCI #93
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
# https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions | |
name: Test Docker image build | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build Docker image | |
run: | | |
$ImageTag = "${{ github.sha }}" | |
$RepoName = "public/quantum/samples" | |
$LocalTag = "${RepoName}:${ImageTag}" | |
docker build Build/images/samples --tag $LocalTag | |
shell: pwsh |