Skip to content

Merge pull request #41 from FranzDiebold/feat/update-versions #70

Merge pull request #41 from FranzDiebold/feat/update-versions

Merge pull request #41 from FranzDiebold/feat/update-versions #70

Workflow file for this run

name: CI
on:
push:
branches:
- "main"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker meta server
id: meta_server
uses: docker/metadata-action@v4
with:
images: franzdiebold/datascience-ultimate-server
tags: |
type=raw,value={{date 'YYYY-MM-DD'}}
type=raw,value=latest
- name: Docker meta lab
id: meta_lab
uses: docker/metadata-action@v4
with:
images: franzdiebold/datascience-ultimate
tags: |
type=raw,value={{date 'YYYY-MM-DD'}}
type=raw,value=latest
- 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 server
uses: docker/build-push-action@v3
with:
context: datascience-ultimate-server/
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta_server.outputs.tags }}
- name: Build and push lab
uses: docker/build-push-action@v3
with:
context: datascience-ultimate/
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta_lab.outputs.tags }}