mirror of
https://github.com/Empostor/Empostor.git
synced 2026-10-19 15:51:39 +00:00
Remove Docker
This commit is contained in:
1 parent
d25dd117b8
commit
ec0aa78a75
2 files changed
-83
No files matched your search
@@ -1,39 +0,0 @@
|
|||||||
# Build output
|
|
||||||
**/bin/
|
|
||||||
**/obj/
|
|
||||||
**/publish/
|
|
||||||
|
|
||||||
# IDE
|
|
||||||
.idea/
|
|
||||||
.vs/
|
|
||||||
.vscode/
|
|
||||||
*.user
|
|
||||||
*.suo
|
|
||||||
|
|
||||||
# OS files
|
|
||||||
.DS_Store
|
|
||||||
Thumbs.db
|
|
||||||
|
|
||||||
# Git
|
|
||||||
.git/
|
|
||||||
.gitignore
|
|
||||||
.gitattributes
|
|
||||||
|
|
||||||
# Docs
|
|
||||||
docs/
|
|
||||||
*.md
|
|
||||||
|
|
||||||
# Docker
|
|
||||||
.dockerignore
|
|
||||||
|
|
||||||
# Logs
|
|
||||||
Log/
|
|
||||||
*.log
|
|
||||||
|
|
||||||
# Data
|
|
||||||
Data/
|
|
||||||
|
|
||||||
# Temp
|
|
||||||
tmp/
|
|
||||||
temp/
|
|
||||||
*.tmp
|
|
||||||
@@ -97,47 +97,3 @@ jobs:
|
|||||||
--prerelease \
|
--prerelease \
|
||||||
--notes "Automated nightly build from ${GITHUB_SHA}" \
|
--notes "Automated nightly build from ${GITHUB_SHA}" \
|
||||||
--target "${GITHUB_SHA}"
|
--target "${GITHUB_SHA}"
|
||||||
|
|
||||||
docker:
|
|
||||||
needs: build
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: github.event_name != 'pull_request'
|
|
||||||
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
arch:
|
|
||||||
- { docker: linux/amd64, rid: amd64 }
|
|
||||||
- { docker: linux/arm64, rid: arm64 }
|
|
||||||
- { docker: linux/arm/v7, rid: arm }
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v3
|
|
||||||
|
|
||||||
- name: Build Docker image (${{ matrix.arch.rid }})
|
|
||||||
uses: docker/build-push-action@v6
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
platforms: ${{ matrix.arch.docker }}
|
|
||||||
load: true
|
|
||||||
tags: empostor-server:${{ matrix.arch.rid }}
|
|
||||||
build-args: |
|
|
||||||
VERSIONSUFFIX=docker
|
|
||||||
cache-from: type=gha
|
|
||||||
cache-to: type=gha,mode=max
|
|
||||||
provenance: false
|
|
||||||
|
|
||||||
- name: Export Docker image to tar
|
|
||||||
run: docker save empostor-server:${{ matrix.arch.rid }} -o empostor-server-docker-${{ matrix.arch.rid }}.tar
|
|
||||||
|
|
||||||
- name: Upload Docker image
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: empostor-docker-${{ matrix.arch.rid }}
|
|
||||||
path: empostor-server-docker-${{ matrix.arch.rid }}.tar
|
|
||||||
Reference in new issue
Block a user