Skip to content

Commit

Permalink
docker updates: replace workflow with automated builds, update docker…
Browse files Browse the repository at this point in the history
… repo, increment version
  • Loading branch information
Stefan Schneider committed Apr 25, 2021
1 parent 57c2988 commit c152e4f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# build and publish Docker image
name: Docker
# disabled and replaced with Docker Hub's automated builds (they also pull the Readme automatically)
on:
release:
types: [published]
# release:
# types: [published]
workflow_dispatch:

jobs:
Expand All @@ -17,5 +18,5 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: stefanupb/deepcomp
repository: stefanbschneider/deepcomp
tag_with_ref: true
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[![CI](https://github.com/CN-UPB/DeepCoMP/actions/workflows/python-test.yml/badge.svg)](https://github.com/CN-UPB/DeepCoMP/actions/workflows/python-test.yml)
[![PyPi](https://github.com/CN-UPB/DeepCoMP/actions/workflows/python-publish.yml/badge.svg?branch=v1.1.0)](https://github.com/CN-UPB/DeepCoMP/actions/workflows/python-publish.yml)
[![Docker](https://github.com/CN-UPB/DeepCoMP/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/CN-UPB/DeepCoMP/actions/workflows/docker-publish.yml)
[![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/stefanbschneider/deepcomp?label=Docker%20Build&logo=docker)](https://hub.docker.com/r/stefanbschneider/deepcomp)
[![Docker Pulls](https://img.shields.io/docker/pulls/stefanbschneider/deepcomp?label=Docker%20Pulls&logo=docker)](https://hub.docker.com/r/stefanbschneider/deepcomp)
[![DeepSource](https://deepsource.io/gh/CN-UPB/DeepCoMP.svg/?label=active+issues)](https://deepsource.io/gh/CN-UPB/DeepCoMP/?ref=repository-badge)


Expand Down Expand Up @@ -64,12 +65,12 @@ sudo apt install ffmpeg imagemagick
### Docker

There is a Docker image that comes with `deepcomp` preinstalled.
To use the Docker image, simply pull the latest version from Docker Hub:
To use the Docker image, simply pull the latest version from [Docker Hub](https://hub.docker.com/r/stefanbschneider/deepcomp):

```
docker pull stefanupb/deepcomp
# tag image with just "deepcomp". alternatively, write out "stefanupb/deepcomp" in all following commands.
docker tag stefanupb/deepcomp:latest deepcomp
docker pull stefanbschneider/deepcomp
# tag image with just "deepcomp". alternatively, write out "stefanbschneider/deepcomp" in all following commands.
docker tag stefanbschneider/deepcomp:latest deepcomp
```

Alternatively, to build the Docker image manually from the `Dockerfile`, clone this repository and run
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

setup(
name='deepcomp',
version='1.2.4',
version='1.2.5',
author='Stefan Schneider',
description="DeepCoMP: Self-Learning Dynamic Multi-Cell Selection for Coordinated Multipoint (CoMP)",
long_description=long_description,
Expand Down

0 comments on commit c152e4f

Please sign in to comment.