mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-01-23 20:18:13 +03:00
win32 actions
This commit is contained in:
parent
907c422bb4
commit
e6a350af23
39
.github/workflows/docker-win32-develop.yml
vendored
Normal file
39
.github/workflows/docker-win32-develop.yml
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
name: develop
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
tags:
|
||||
- '*'
|
||||
push:
|
||||
branches:
|
||||
- 'develop'
|
||||
|
||||
jobs:
|
||||
build-forked-fixed-independed-images:
|
||||
name: EpicMorg Base Production images
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Log into registry
|
||||
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
|
||||
|
||||
##################################################################################
|
||||
|
||||
- name: Build Base Win32 Production
|
||||
run: docker build --compress -t prod:win10 win32/epicmorg/prod/win10
|
||||
|
||||
- name: Build Base Win32-Server Production
|
||||
run: docker build --compress -t prod:win-server-core win32/epicmorg/prod/win-server-core
|
||||
|
||||
- name: Cleanup
|
||||
run: docker system prune --all --force --volumes
|
||||
|
||||
#########################################
|
||||
#### secondary images and backports
|
||||
#########################################
|
||||
|
||||
- name: Cleanup
|
||||
run: docker system prune --all --force --volumes
|
54
.github/workflows/docker-win32-master.yml
vendored
Normal file
54
.github/workflows/docker-win32-master.yml
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
name: master
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
schedule:
|
||||
- cron: '00 00 * * 6' # At 12:00 AM, only on Saturday
|
||||
|
||||
jobs:
|
||||
|
||||
##################################################################################
|
||||
#### Template
|
||||
##################################################################################
|
||||
# - name: Build Template
|
||||
# run: docker build --compress -t user/repo:tag path/to/folder/contains/dockerfile
|
||||
# - name: Push Template
|
||||
# run: docker push user/repo:tag
|
||||
##################################################################################
|
||||
|
||||
##################################################################################
|
||||
#### EpicMorg Base Production images
|
||||
##################################################################################
|
||||
|
||||
build-base-prod-iamges:
|
||||
name: EpicMorg Base Production images
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Log into registry
|
||||
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
|
||||
|
||||
##################################################################################
|
||||
|
||||
- name: Build Base Win32 Production
|
||||
run: docker build --compress -t prod:win10 win32/epicmorg/prod/win10
|
||||
- name: Push Build Base Win32 Production
|
||||
run: docker push epicmorg/prod:win10
|
||||
|
||||
- name: Build Base Win32-Server Production
|
||||
run: docker build --compress -t prod:win-server-core win32/epicmorg/prod/win-server-core
|
||||
- name: Push Base Win32-Server Production
|
||||
run: docker push epicmorg/prod:win-server-core
|
||||
|
||||
- name: Cleanup
|
||||
run: docker system prune --all --force --volumes
|
||||
|
||||
#########################################
|
||||
#### secondary images and backports
|
||||
#########################################
|
||||
|
||||
- name: Cleanup
|
||||
run: docker system prune --all --force --volumes
|
Loading…
x
Reference in New Issue
Block a user