Adds initial readme (#4)
All checks were successful
ci / docker (push) Successful in 19s
test / docker (push) Successful in 20s

#### 📖 Summary

- Adds initial readme

#### 📑 Test Plan

> 💡 Select your test plan for the code changes.

- [x] CI pipeline tests
- [ ] Custom test
- [ ] No test plan

##### Details / Justification

<!-- Add your test details or justification for missing tests here. -->

#### 📚 Additional Notes

<!-- A place for additional detail notes. -->

Co-authored-by: OCram85 <marco.blessing@googlemail.com>
Reviewed-on: #4
This commit is contained in:
2023-07-11 10:32:44 +02:00
parent 32faa37575
commit f5bcb85179
5 changed files with 163 additions and 77 deletions

View File

@ -1,26 +1,34 @@
name: ci
run-name: docker pipeline
on:
push:
#branches: none #[ main ]
tags-ignore:
- '*'
branches:
- 'main'
tags:
- 'v*'
pull_request:
#branches: none # [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
branches:
- 'main'
jobs:
test-build:
docker:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
#-
# name: Set up QEMU
# uses: actions/setup-qemu-action@v2
-
name: Docker meta
id: meta
uses: actions/metadata-action@v4
with:
images: |
gitea.ocram85.com/ocram85/swarmproxy
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
-
name: Set up Docker Buildx
uses: actions/setup-buildx-action@v2
@ -36,5 +44,6 @@ jobs:
name: Build and push
uses: actions/build-push-action@v4
with:
push: false
tags: gitea.ocram85.com/ocram85/swarmproxy:next
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}