generated from Templates/Baseline
Compare commits
1 Commits
ab8c87974d
...
0cbf9dca78
Author | SHA1 | Date | |
---|---|---|---|
0cbf9dca78 |
@ -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 }}
|
||||||
|
@ -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
|
19
.gitea/workflows/testing.yaml
Normal file
19
.gitea/workflows/testing.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user