fix: bring template up to date with the latest release versions (#3) #20
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 and Test | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test packages | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
docker build -f aica-package.toml --target test . | |
build: | |
runs-on: ubuntu-latest | |
name: Build | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
push: true | |
tags: ghcr.io/${{ github.repository }}/template-component-package:latest | |
context: . | |
file: aica-package.toml |