Skip to content

Commit

Permalink
Update github_actions.yml (#416)
Browse files Browse the repository at this point in the history
* use advanced syntax for pip install with ssh
  • Loading branch information
DimaMolod authored Oct 11, 2024
1 parent 21f6d0d commit f7abf52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/github_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- main
release:
types: [published]
workflow_dispatch:

jobs:
build-and-test:
Expand Down Expand Up @@ -104,6 +105,7 @@ jobs:
file: ./docker/pulldown.dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/fold:latest
ssh: default

- name: Build and push fold container with version
if: github.event_name == 'release' && github.event.action == 'published'
Expand All @@ -113,6 +115,7 @@ jobs:
file: ./docker/pulldown.dockerfile
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/fold:${{ github.event.release.tag_name }}
ssh: default

build-analysis-container:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion docker/pulldown.dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# syntax = docker/dockerfile:1.4

# Copyright 2021 DeepMind Technologies Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -84,7 +86,6 @@ RUN pip3 install --upgrade pip --no-cache-dir \
jax==0.4.23 \
jaxlib==0.4.23+cuda11.cudnn86 \
-f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
# syntax = docker/dockerfile:1.4

RUN chmod u+s /sbin/ldconfig.real

Expand Down

0 comments on commit f7abf52

Please sign in to comment.