docker-scripts/.github/workflows/_disabled/docker-win32-develop.yml.txt

46 lines
1.2 KiB
Plaintext
Raw Normal View History

2021-04-01 13:15:01 +03:00
name: develop-win32
2021-04-01 13:13:11 +03:00
on:
pull_request:
branches:
- '*'
tags:
- '*'
push:
branches:
- 'develop'
jobs:
build-forked-fixed-independed-images:
2021-04-01 14:34:26 +03:00
name: EpicMorg Base Win32 Production images
2021-04-01 13:13:11 +03:00
runs-on: windows-latest
2021-04-01 14:01:20 +03:00
env:
2021-04-01 14:02:59 +03:00
DOCKER_CLI_EXPERIMENTAL: true
2021-04-01 14:01:20 +03:00
2021-04-01 13:13:11 +03:00
steps:
- uses: actions/checkout@v2
- name: Log into registry
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
2021-04-01 14:34:26 +03:00
- name: Get Experimental Status
2021-04-01 14:11:07 +03:00
run: |
2021-04-01 14:34:26 +03:00
docker version -f '{{.Server.Experimental}}'
2021-04-01 13:13:11 +03:00
##################################################################################
- 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