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:
|
||||
push:
|
||||
@ -10,7 +10,7 @@ on:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
deployment-job:
|
||||
build-container:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
@ -21,7 +21,7 @@ jobs:
|
||||
uses: actions/metadata-action@v4
|
||||
with:
|
||||
images: |
|
||||
gitea.ocram85.com/ocram85/swarmproxy
|
||||
ocram85/swarmproxy
|
||||
tags: |
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
@ -43,6 +43,7 @@ jobs:
|
||||
name: Build and push
|
||||
uses: actions/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
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:
|
||||
push:
|
||||
#branches: none #[ main ]
|
||||
tags-ignore:
|
||||
- '*'
|
||||
pull_request:
|
||||
#branches: none # [ main ]
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test-build:
|
||||
build-container:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
@ -37,4 +35,4 @@ jobs:
|
||||
uses: actions/build-push-action@v4
|
||||
with:
|
||||
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