Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build Docker image

on:
push:
branches:
- '*'

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Build
uses: docker/build-push-action@v3
with:
push: false
18 changes: 1 addition & 17 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,10 @@ name: Docker Build And Push To Docker Hub

on:
push:
branches:
- '*'
tags:
- 'v*.*.*'

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Git Checkout Code
uses: actions/checkout@v3
id: git_checkout

- name: Build and push
uses: docker/build-push-action@v3
with:
push: false

deployment:
name: Deployment
runs-on: ubuntu-latest
Expand All @@ -38,8 +23,7 @@ jobs:
# generate Docker tags based on the following events/attributes
tags: |
type=schedule,pattern={{date 'YYYYMMDD'}}
type=ref,event=branch
type=ref,event=pr
type=ref,event=tag
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
Expand Down