Compare commits

..

1 Commits

Author SHA1 Message Date
0cbf9dca78 Add renovate.json
All checks were successful
docker / build-container (push) Successful in 17s
docker / build-container (pull_request) Successful in 29s
2023-07-10 10:00:21 +00:00
3 changed files with 28 additions and 10 deletions

View File

@ -1,6 +1,6 @@
name: deployment name: docker
run-name: tag based container build and push run-name: Container Image Deployment
on: on:
push: push:
@ -10,7 +10,7 @@ on:
- 'v*' - 'v*'
jobs: jobs:
deployment-job: build-container:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
@ -21,7 +21,7 @@ jobs:
uses: actions/metadata-action@v4 uses: actions/metadata-action@v4
with: with:
images: | images: |
gitea.ocram85.com/ocram85/swarmproxy ocram85/swarmproxy
tags: | tags: |
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}
@ -43,6 +43,7 @@ jobs:
name: Build and push name: Build and push
uses: actions/build-push-action@v4 uses: actions/build-push-action@v4
with: with:
context: .
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}

View File

@ -1,19 +1,17 @@
name: ci name: docker
run-name: docker pipeline run-name: ${{ gitea.actor }} testing docker builder
on: on:
push: push:
#branches: none #[ main ] #branches: none #[ main ]
tags-ignore:
- '*'
pull_request: pull_request:
#branches: none # [ main ] #branches: none # [ main ]
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch:
jobs: jobs:
test-build: build-container:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
@ -37,4 +35,4 @@ jobs:
uses: actions/build-push-action@v4 uses: actions/build-push-action@v4
with: with:
push: false push: false
tags: gitea.ocram85.com/ocram85/swarmproxy:next tags: gitea.ocram85.com/ocram85/swarmproxy:next2

View File

@ -0,0 +1,19 @@
name: build testing
run-name: ${{ gitea.actor }} is testing out Gitea Actions
on:
push:
branches: none #[ main ]
#paths: .github/workflows/1-actions-ci-cd-aks.yml
pull_request:
branches: none # [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-container:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3