Skip to content

Update setup.R

Update setup.R #415

Workflow file for this run

name: Docker
on:
push:
# Publish `master` as Docker `latest` image.
branches:
- master
# Publish `v1.2.3` tags as releases.
tags:
- v*
# Run tests for any PRs.
pull_request:
jobs:
# Run tests.
# See also https://docs.docker.com/docker-hub/builds/automated-testing/
build:
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v2
name: Check out code
- name: Clean
run: |
sudo swapoff -a
sudo rm -f /swapfile
sudo apt clean
sudo apt autoremove -y --purge
docker rmi $(docker image ls -aq)
df -h
- uses: mr-smithers-excellent/docker-build-push@v3
name: Build & push Docker image
with:
image: kstawiski/omicselector
tag: latest
registry: docker.io
dockerfile: Dockerfile.cpu
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}