Skip to content

Merge pull request #28 from lewisevans2007/snyk-fix-29350721c73fb087e… #124

Merge pull request #28 from lewisevans2007/snyk-fix-29350721c73fb087e…

Merge pull request #28 from lewisevans2007/snyk-fix-29350721c73fb087e… #124

Workflow file for this run

name: publish
on:
push:
branches: ["master"]
jobs:
publish-blank-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker blank image
run: |
docker build -f dockerfiles/blank.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_blank:latest
docker run ghcr.io/lewisevans2007/lab_space_blank:latest
docker push ghcr.io/lewisevans2007/lab_space_blank:latest
publish-bash-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker bash image
run: |
docker build -f dockerfiles/bash.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_bash:latest
docker run ghcr.io/lewisevans2007/lab_space_bash:latest
docker push ghcr.io/lewisevans2007/lab_space_bash:latest
publish-c-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker c image
run: |
docker build -f dockerfiles/c.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_c:latest
docker run ghcr.io/lewisevans2007/lab_space_c:latest
docker push ghcr.io/lewisevans2007/lab_space_c:latest
publish-cpp-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker cpp image
run: |
docker build -f dockerfiles/cpp.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_cpp:latest
docker run ghcr.io/lewisevans2007/lab_space_cpp:latest
docker push ghcr.io/lewisevans2007/lab_space_cpp:latest
publish-nodejs-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker nodejs image
run: |
docker build -f dockerfiles/nodejs.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_nodejs:latest
docker run ghcr.io/lewisevans2007/lab_space_nodejs:latest
docker push ghcr.io/lewisevans2007/lab_space_nodejs:latest
publish-typescript-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker typescript image
run: |
docker build -f dockerfiles/typescript.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_typescript:latest
docker run ghcr.io/lewisevans2007/lab_space_typescript:latest
docker push ghcr.io/lewisevans2007/lab_space_typescript:latest
publish-python-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker python image
run: |
docker build -f dockerfiles/python.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_python:latest
docker run ghcr.io/lewisevans2007/lab_space_python:latest
docker push ghcr.io/lewisevans2007/lab_space_python:latest
publish-rust-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker rust image
run: |
docker build -f dockerfiles/rust.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_rust:latest
docker run ghcr.io/lewisevans2007/lab_space_rust:latest
docker push ghcr.io/lewisevans2007/lab_space_rust:latest
publish-go-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker go image
run: |
docker build -f dockerfiles/go.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_go:latest
docker run ghcr.io/lewisevans2007/lab_space_go:latest
docker push ghcr.io/lewisevans2007/lab_space_go:latest
publish-elixir-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker elixir image
run: |
docker build -f dockerfiles/elixir.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_elixir:latest
docker run ghcr.io/lewisevans2007/lab_space_elixir:latest
docker push ghcr.io/lewisevans2007/lab_space_elixir:latest
publish-assembly-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker assembly image
run: |
docker build -f dockerfiles/assembly.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_assembly:latest
docker run ghcr.io/lewisevans2007/lab_space_assembly:latest
docker push ghcr.io/lewisevans2007/lab_space_assembly:latest
publish-fortran-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker fortran image
run: |
docker build -f dockerfiles/fortran.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_fortran:latest
docker run ghcr.io/lewisevans2007/lab_space_fortran:latest
docker push ghcr.io/lewisevans2007/lab_space_fortran:latest
publish-java-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker java image
run: |
docker build -f dockerfiles/java.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_java:latest
docker run ghcr.io/lewisevans2007/lab_space_java:latest
docker push ghcr.io/lewisevans2007/lab_space_java:latest
publish-r-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker r image
run: |
docker build -f dockerfiles/r.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_r:latest
docker run ghcr.io/lewisevans2007/lab_space_r:latest
docker push ghcr.io/lewisevans2007/lab_space_r:latest
publish-d-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker d image
run: |
docker build -f dockerfiles/d.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_d:latest
docker run ghcr.io/lewisevans2007/lab_space_d:latest
docker push ghcr.io/lewisevans2007/lab_space_d:latest
publish-lisp-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker lisp image
run: |
docker build -f dockerfiles/lisp.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_lisp:latest
docker run ghcr.io/lewisevans2007/lab_space_lisp:latest
docker push ghcr.io/lewisevans2007/lab_space_lisp:latest
publish-ruby-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker ruby image
run: |
docker build -f dockerfiles/ruby.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_ruby:latest
docker run ghcr.io/lewisevans2007/lab_space_ruby:latest
docker push ghcr.io/lewisevans2007/lab_space_ruby:latest
publish-lua-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker lua image
run: |
docker build -f dockerfiles/lua.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_lua:latest
docker run ghcr.io/lewisevans2007/lab_space_lua:latest
docker push ghcr.io/lewisevans2007/lab_space_lua:latest
publish-php-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker php image
run: |
docker build -f dockerfiles/php.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_php:latest
docker run ghcr.io/lewisevans2007/lab_space_php:latest
docker push ghcr.io/lewisevans2007/lab_space_php:latest
publish-haskell-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker haskell image
run: |
docker build -f dockerfiles/haskell.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_haskell:latest
docker run ghcr.io/lewisevans2007/lab_space_haskell:latest
docker push ghcr.io/lewisevans2007/lab_space_haskell:latest
publish-f_sharp-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Build docker f_sharp image
run: |
docker build -f dockerfiles/f_sharp.dockerfile . --tag ghcr.io/lewisevans2007/lab_space_f_sharp:latest
docker run ghcr.io/lewisevans2007/lab_space_f_sharp:latest
docker push ghcr.io/lewisevans2007/lab_space_f_sharp:latest