Skip to content

fix: devcontainer configuration #8

fix: devcontainer configuration

fix: devcontainer configuration #8

Workflow file for this run

name: Build and Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
packages: write
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-push:
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest
name: Build and push
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_owner }}/template-component-package:latest
context: .
file: aica-package.toml