Create docker-image.yml

This commit is contained in:
finnie2006 authored and GitHub committed 2021-10-10 16:47:51 +02:00
1 parent 357fd66ec4
commit e3e0a7c128
1 file changed
+30
+30
View File
@@ -0,0 +1,30 @@
name: Pterodactyl-Nextcloud
on:
workflow_dispatch:
jobs:
push:
name: "nextcloud-ptero:latest"
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1
with:
version: "v0.5.1"
buildkitd-flags: --debug
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile
platforms: linux/amd64
push: true
tags: |
ghcr.io/finnie2006/nextcloud-ptero:latest