Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Fix syntax errors and update focal image.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdmatters committed Nov 19, 2022
1 parent 3f94ffc commit 53bcaec
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
name: Build & deploy Docker images

on:
schedule:
- cron: "0 6,18 * * *"
push:
paths:
- "docker/Dockerfile*"
Expand All @@ -21,16 +19,16 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: ${{ format('Build {0} image (& Publish - Release Only)', matrix.distro) }}
- name: ${{ format('Build & Publish `dev` {0} image', matrix.distro) }}
uses: docker/build-push-action@v2
with:
username: edran
password: ${{ secrets.DOCKERHUB_TOKEN }}
dockerfile: ${{ format('docker/Dockerfile-{0}', matrix.distro) }}
tags: dev
file: ${{ format('docker/Dockerfile-{0}', matrix.distro) }}
tags: ${{ format('fairnle/nle-{0}', matrix.distro) }}:latest
tag_with_sha: true
add_git_labels: true
push: ${{ github.event_name == "push" }} # Build on PR, Push on Merge.
push: ${{ github.event_name == 'push' }} # Build on PR, Push on Merge.
- name: Check Version Matches Release Tag (Release Only)
if: github.event_name == 'release' && github.event.action == 'released'
run: |
Expand All @@ -43,9 +41,9 @@ jobs:
with:
username: edran
password: ${{ secrets.DOCKERHUB_TOKEN }}
dockerfile: ${{ format('docker/Dockerfile-{0}', matrix.distro) }}
file: ${{ format('docker/Dockerfile-{0}', matrix.distro) }}
tags: |
${{ format('fairnle/nle-{0}', matrix.distro) }}:latest,
${{ format('fairnle/nle-{0}', matrix-distro) }}:${{ github.event.release.tag_name }}
${{ format('fairnle/nle-{0}', matrix.distro) }}:${{ github.event.release.tag_name }}
add_git_labels: true
push: true
1 change: 1 addition & 0 deletions docker/Dockerfile-bionic
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM nvidia/cuda:10.2-cudnn7-devel-ubuntu18.04

ARG PYTHON_VERSION=3.8
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub

RUN apt-get update && apt-get install -yq \
bison \
Expand Down
4 changes: 3 additions & 1 deletion docker/Dockerfile-focal
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# -*- mode: dockerfile -*-

FROM nvidia/cuda:11.0-devel-ubuntu20.04
FROM nvidia/cuda:11.4.3-devel-ubuntu20.04

ARG PYTHON_VERSION=3.8
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub


RUN apt-get update && apt-get install -yq \
bison \
Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile-xenial
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ FROM nvidia/cuda:10.2-cudnn7-devel-ubuntu16.04

ARG PYTHON_VERSION=3.8
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/3bf863cc.pub


RUN apt-get update && apt-get install -yq \
apt-transport-https \
Expand Down

0 comments on commit 53bcaec

Please sign in to comment.