Skip to content

Merge branch 'main' of https://github.com/UrbanCode/IBM-UCx-PLUGIN-DOCS #2

Merge branch 'main' of https://github.com/UrbanCode/IBM-UCx-PLUGIN-DOCS

Merge branch 'main' of https://github.com/UrbanCode/IBM-UCx-PLUGIN-DOCS #2

Workflow file for this run

name: Build Docker image
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-with-docker:
runs-on: ubuntu-20.04
steps:
- name: Remove unnecessary files
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- uses: docker/build-push-action@v4
with:
context: .
tags: my_tag:latest
load: true
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Run pytest
run: docker run my_tag pytest