Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
drjova committed Jul 26, 2024
0 parents commit d7f8baf
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Pull request main (workflows)

on:
push:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: docker build
run: docker build -t my-image .

- name: docker run my-image
run: docker run my-image
18 changes: 18 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Pull request main (workflows)

on:
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: docker build
run: docker build -t my-image .

- name: docker run my-image
run: docker run my-image
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM python:3.11-slim

WORKDIR /app

RUN echo "HAHAHHAHAHAHAHAHAHAHAHAHAHAHAHH"

0 comments on commit d7f8baf

Please sign in to comment.