PGrabinski is testing Docker Image for GenAI Detection🐋 #111
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 Docker Image | |
run-name: ${{ github.actor }} is testing Docker Image for GenAI Detection🐋 | |
on: [push] | |
jobs: | |
Test-GenAI-Detection: | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | |
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/[email protected] | |
- name: Remove unnecesary files from the opt directory | |
run: rm -rf /opt/hostedtoolcache | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- uses: docker/[email protected] | |
- uses: docker/[email protected] | |
with: | |
context: . | |
file: "environments/Dockerfile" | |
tags: genai_env | |
load: true | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
push: false |