Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/porter-windows-cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Porter Windows Docker Image CD

on:
push:
branches: [ master ]
workflow_dispatch:

jobs:
docker-cd:
runs-on: ubuntu-latest
steps:

- name: Checkout Repository
uses: actions/checkout@v2

- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Build and push Porter Windows Docker image
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile.porter-windows
push: true
tags: codexrems/fullstack_rems-windows:REMSvCurrent
18 changes: 18 additions & 0 deletions .github/workflows/porter-windows-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Porter Windows Docker Image CI

on:
pull_request:
branches: [ master, dev ]
workflow_dispatch:


jobs:
docker-ci:
runs-on: ubuntu-latest
steps:

- name: Checkout Repository
uses: actions/checkout@v2

- name: Test Porter Windows Docker image Builds
run: docker build -f Dockerfile.porter-windows .
10 changes: 10 additions & 0 deletions Dockerfile.porter-windows
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM ubuntu:latest
WORKDIR /porter
RUN apt update
RUN apt -y install curl
RUN curl -fsSL https://get.docker.com -o get-docker.sh
RUN chmod u+x get-docker.sh
RUN ./get-docker.sh
RUN curl -L https://cdn.porter.sh/latest/install-linux.sh | bash
RUN export PATH="$PATH:~/.porter"
ENV PATH="$PATH:~/.porter"