Commit c769ca8a authored by Markus Mirz's avatar Markus Mirz
Browse files

actions: use dockerhub


Signed-off-by: Markus Mirz's avatarMarkus Mirz <mmirz@eonerc.rwth-aachen.de>
parent 63cce9ba
name: Build & Test
on:
[push]
# Works only on master?!
# workflow_run:
# workflows: ["Container"]
# types:
# - completed
on:
workflow_run:
workflows: ["Container"]
branches: [master]
types: [completed]
## Build ##
......@@ -30,7 +28,7 @@ jobs:
linux-fedora:
name: Build on Linux fedora
runs-on: ubuntu-latest
container: registry.git.rwth-aachen.de/acs/public/simulation/dpsim/dpsim:dpsim-dev
container: sogno/dpsim:dev
steps:
- name: Checkout
uses: actions/checkout@v2
......@@ -61,7 +59,7 @@ jobs:
linux-centos:
name: Build on Linux centos
runs-on: ubuntu-latest
container: registry.git.rwth-aachen.de/acs/public/simulation/dpsim/dpsim:dpsim-centos
container: sogno/dpsim:dev-centos
steps:
- name: Checkout
uses: actions/checkout@v2
......@@ -94,7 +92,7 @@ jobs:
test-binaries:
name: Execute Example
runs-on: ubuntu-latest
container: registry.git.rwth-aachen.de/acs/public/simulation/dpsim/dpsim:dpsim-centos
container: sogno/dpsim:dev-centos
needs: [linux-centos]
steps:
- name: Checkout
......@@ -112,7 +110,7 @@ jobs:
cpp-check:
name: Scan Sourcecode with Cppcheck
runs-on: ubuntu-latest
container: registry.git.rwth-aachen.de/acs/public/simulation/dpsim/dpsim:dpsim-centos
container: sogno/dpsim:dev-centos
needs: [linux-centos]
steps:
- name: Checkout
......
......@@ -16,8 +16,8 @@ jobs:
uses: docker/login-action@v1
with:
registry: registry.git.rwth-aachen.de
username: ${{ secrets.RWTH_GITLAB_REGISTRY_USER }}
password: ${{ secrets.RWTH_GITLAB_REGISTRY }}
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_SECRET }}
- name: Build and push
id: docker_build
......@@ -25,7 +25,7 @@ jobs:
with:
file: Packaging/Docker/Dockerfile.dev-centos
push: true
tags: registry.git.rwth-aachen.de/acs/public/simulation/dpsim/dpsim:dpsim-centos
tags: sogno/dpsim:dev-centos
create-docker-fedora-dev:
runs-on: ubuntu-latest
......@@ -37,8 +37,8 @@ jobs:
uses: docker/login-action@v1
with:
registry: registry.git.rwth-aachen.de
username: ${{ secrets.RWTH_GITLAB_REGISTRY_USER }}
password: ${{ secrets.RWTH_GITLAB_REGISTRY }}
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_SECRET }}
- name: Build and push
id: docker_build
......@@ -46,5 +46,5 @@ jobs:
with:
file: Packaging/Docker/Dockerfile.dev
push: true
tags: registry.git.rwth-aachen.de/acs/public/simulation/dpsim/dpsim:dpsim-dev
tags: sogno/dpsim:dev
name: Generate
on:
push:
branches:
- master
workflow_run:
workflows: ["Container"]
branches: [master]
types: [completed]
jobs:
generate-docs:
runs-on: ubuntu-latest
container: registry.git.rwth-aachen.de/acs/public/simulation/dpsim/dpsim:dpsim-dev
container: sogno/dpsim:dev
steps:
- name: Checkout
uses: actions/checkout@v2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment