Skip to content

docker

docker #69

Workflow file for this run

name: docker
on:
#push:
# branches:
# - master
schedule:
- cron: "37 2 27 * *"
jobs:
docker-ci:
runs-on: ubuntu-latest
name: docker-ci
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
context: docker/ci
tags: rquantlib/ci
docker-run:
runs-on: ubuntu-latest
name: docker-run
needs: docker-ci
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
context: docker/run
tags: rquantlib/run