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
37 changes: 37 additions & 0 deletions .github/workflows/build-playdl-forked.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Docker build forked PlayDL
on:
workflow_call:
workflow_dispatch:
inputs:
tag:
description: 'Tag to use for the image'
required: true

jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: release
fetch-depth: 0
- name: Replace package.json
run: |
rm -rf package.json
rm -rf package-lock.json
cp -r package.json.dupe package.json
npm install
- name: Get Latest Tag
id: latest_tag
uses: WyriHaximus/github-action-get-previous-tag@v1
- name: Echo latest tag
run: echo '${{ steps.latest_tag.outputs.tag }}'
- name: Kaniko build
uses: aevea/action-kaniko@master
with:
image: destcom/stroycord
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
tag: 'playdl-forked-${{ github.event.inputs.tag || steps.latest_tag.outputs.tag }}'
tag_with_latest: false
build_file: ./StroyCord.Dockerfile
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ jobs:
needs: create_tag
uses: ./.github/workflows/build.yml
secrets: inherit
build_playdl_forked:
needs: create_tag
uses: ./.github/workflows/build-playdl-forked.yml
secrets: inherit
release:
needs: [build]
needs: [build, build_playdl_forked]
uses: ./.github/workflows/release.yml
secrets: inherit
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: "3"
version: '3'

services:
stroycord:
container_name: stroycord
image: stroycord:latest
image: destcom/stroycord:latest
build:
context: .
dockerfile: StroyCord.Dockerfile
Expand Down
Loading
Loading