Skip to content

Add Standalone Docker Compose #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 48 commits into from
Mar 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
b84165f
Add Standalone Docker Compose
smashedr Mar 13, 2025
0ece405
use stack name for compose project
smashedr Mar 13, 2025
badf355
update README.md
smashedr Mar 13, 2025
777b7f1
update README.md
smashedr Mar 13, 2025
8efd0c7
update README.md
smashedr Mar 13, 2025
a074fed
update README.md
smashedr Mar 13, 2025
b2b7785
update README.md
smashedr Mar 13, 2025
95b5e94
update README.md
smashedr Mar 13, 2025
436dbc2
update README.md
smashedr Mar 13, 2025
afacbd7
update README.md
smashedr Mar 13, 2025
e707f2b
update README.md
smashedr Mar 13, 2025
a648645
update README.md
smashedr Mar 13, 2025
f579652
Fix Compose Output
smashedr Mar 13, 2025
565837c
Fix Auth
smashedr Mar 13, 2025
a548917
Updates
smashedr Mar 13, 2025
cf31cd3
Update test.yaml
smashedr Mar 13, 2025
22634f2
Test Error
smashedr Mar 13, 2025
93a64c4
Test Error
smashedr Mar 13, 2025
351dc42
Test Error
smashedr Mar 13, 2025
2f32e8b
Fix Error Capturing
smashedr Mar 13, 2025
6235fc0
Fix Error Capturing
smashedr Mar 13, 2025
2152774
Update Summary
smashedr Mar 13, 2025
57b6e19
Fix Test
smashedr Mar 14, 2025
8b28057
Update summary.sh
smashedr Mar 14, 2025
c056b92
Cleanup
smashedr Mar 14, 2025
0d9f2b5
Cleanup Prune Flag
smashedr Mar 14, 2025
8862d57
Update Input Warnings
smashedr Mar 14, 2025
52e30c4
Remove unused block
smashedr Mar 14, 2025
d69254b
Update README.md
smashedr Mar 14, 2025
96bffef
Update README.md
smashedr Mar 14, 2025
017c2f5
Rename Inputs
smashedr Mar 14, 2025
d0f03d0
Update README.md
smashedr Mar 14, 2025
b149089
Update README.md
smashedr Mar 14, 2025
3a1917e
Update README.md
smashedr Mar 14, 2025
b0c259f
Update README.md
smashedr Mar 14, 2025
67cbbb8
Update README.md
smashedr Mar 14, 2025
31f4783
Update README.md
smashedr Mar 14, 2025
5ced89e
Tweaks
smashedr Mar 14, 2025
4a1d751
Update README.md
smashedr Mar 14, 2025
8aa2051
Update test.yaml
smashedr Mar 14, 2025
aef0a7d
Update README.md
smashedr Mar 14, 2025
86417b4
Update README.md
smashedr Mar 14, 2025
3002d83
Update README.md
smashedr Mar 14, 2025
1feb38c
Update README.md
smashedr Mar 14, 2025
35498a8
Update README.md
smashedr Mar 14, 2025
2fe6f13
Update README.md
smashedr Mar 14, 2025
b1a8f8d
Update README.md
smashedr Mar 14, 2025
1d583b1
Update Release Workflow
smashedr Mar 14, 2025
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
13 changes: 13 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,17 @@ jobs:

steps:
- name: "Update Tags"
id: tags
uses: cssnr/update-version-tags-action@v1

- name: "Debug Tags"
run: |
echo "github.ref_name: ${{ github.ref_name }}"
echo "steps.tags.outputs.tags: ${{ steps.tags.outputs.tags }}"

- name: "Update Release Notes Action"
uses: smashedr/update-release-notes-action@master
continue-on-error: true
with:
tags: "${{ steps.tags.outputs.tags }}"
location: tail
52 changes: 49 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ on:
env:
PRIVATE_IMAGE: ${{ vars.PRIVATE_IMAGE || 'smashedr/alpine-private:latest' }}

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
test:
name: "Test"
if: ${{ !contains(github.event.head_commit.message, '#notest') }}
runs-on: ubuntu-latest
timeout-minutes: 5
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

steps:
- name: "Checkout"
Expand Down Expand Up @@ -82,6 +83,51 @@ jobs:
registry_pass: ${{ secrets.DOCKER_HUB_PASS }}
summary: false

- name: "3: Write YAML"
if: ${{ !cancelled() && !github.event.act }}
uses: teunmooij/yaml@v1
with:
to-file: "docker-compose.yaml"
data: |
{"version":"3.8","services":{"alpine":{"image":"alpine:latest","command":"tail -f /dev/null"}}}

- name: "3: Test Compose"
if: ${{ !cancelled() && !github.event.act }}
uses: ./
with:
name: test_stack-deploy-compose
file: docker-compose.yaml
host: ${{ secrets.DOCKER_HOST }}
port: ${{ secrets.DOCKER_PORT }}
user: ${{ secrets.DOCKER_USER }}
pass: ${{ secrets.DOCKER_PASS }}
#ssh_key: ${{ secrets.DOCKER_SSH_KEY }}
mode: compose
summary: false

- name: "4: Write YAML"
if: ${{ !cancelled() }}
uses: teunmooij/yaml@v1
with:
to-file: "docker-compose.yaml"
data: |
{"version":"3.8","services":{"alpine":{"image":"${{ env.PRIVATE_IMAGE }}","command":"tail -f /dev/null"}}}

- name: "4: Test Compose SSH and Auth"
if: ${{ !cancelled() }}
uses: ./
with:
name: test_stack-deploy-compose
file: docker-compose.yaml
host: ${{ secrets.DOCKER_HOST }}
port: ${{ secrets.DOCKER_PORT }}
user: ${{ secrets.DOCKER_USER }}
#pass: ${{ secrets.DOCKER_PASS }}
ssh_key: ${{ secrets.DOCKER_SSH_KEY }}
mode: compose
registry_user: ${{ vars.DOCKER_HUB_USER }}
registry_pass: ${{ secrets.DOCKER_HUB_PASS }}

- name: "Schedule Failure Notification"
if: ${{ failure() && github.event_name == 'schedule' }}
uses: sarisia/actions-status-discord@v1
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
> [!WARNING]
> This guide is a work in progress and may not be complete.

This is a basic contributing guide and is a work in progress.
Note: This guide is not updated for Compose but those tests work the same way.

## Workflow

Expand Down
Loading
Loading