generated from Templates/Baseline
Compare commits
8 Commits
0cbf9dca78
...
ab8c87974d
Author | SHA1 | Date | |
---|---|---|---|
ab8c87974d | |||
32faa37575 | |||
80447c3901 | |||
2013e22524 | |||
4f1626d5e8 | |||
61b786bb20 | |||
4ca74a74da | |||
a52df9d159 |
@ -1,17 +1,19 @@
|
|||||||
name: docker
|
name: ci
|
||||||
|
|
||||||
run-name: ${{ gitea.actor }} testing docker builder
|
run-name: docker pipeline
|
||||||
|
|
||||||
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:
|
||||||
build-container:
|
test-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: catthehacker/ubuntu:act-latest
|
image: catthehacker/ubuntu:act-latest
|
||||||
@ -35,4 +37,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:next2
|
tags: gitea.ocram85.com/ocram85/swarmproxy:next
|
@ -1,6 +1,6 @@
|
|||||||
name: docker
|
name: deployment
|
||||||
|
|
||||||
run-name: Container Image Deployment
|
run-name: tag based container build and push
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -10,7 +10,7 @@ on:
|
|||||||
- 'v*'
|
- 'v*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-container:
|
deployment-job:
|
||||||
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: |
|
||||||
ocram85/swarmproxy
|
gitea.ocram85.com/ocram85/swarmproxy
|
||||||
tags: |
|
tags: |
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
type=semver,pattern={{major}}.{{minor}}
|
||||||
@ -43,7 +43,6 @@ 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 }}
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
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
|
|
Loading…
x
Reference in New Issue
Block a user