Skip to content

Merge pull request #21 from ksonda/main #45

Merge pull request #21 from ksonda/main

Merge pull request #21 from ksonda/main #45

Workflow file for this run

name: ci
on:
workflow_dispatch:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v3
with:
push: true
tags: internetofwater/cws-compile:ref_pws_run
-
name: run
uses: addnab/docker-run-action@v3
with:
image: internetofwater/cws-compile:ref_pws_run
run: Rscript /01_code/runner.R