Skip to content

Commit

Permalink
working on the docker
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewCaseres committed Apr 30, 2024
1 parent cdeceaa commit db0dd30
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/BasicTerm_ME_PyTorch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: basicterm_me_pytorch

on:
push:
branches:
- 'main'

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: actuarial
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}:containers/BasicTerm_ME_heavylight"
push: true
tags: actuarial/basicterm_me_pytorch:latest
4 changes: 3 additions & 1 deletion containers/BasicTerm_ME_heavylight/notes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
docker build . -t lol
docker run lol # no gpu
docker run --gpus all lol
docker run --gpus all lol

act -j build -s "CODECOV_TOKEN=your-codecov-token-abc555-5555"

0 comments on commit db0dd30

Please sign in to comment.