More generic way of publishing docker image with all proper semVer tags #noissue
All checks were successful
/ build (push) Successful in 1m4s
All checks were successful
/ build (push) Successful in 1m4s
This commit is contained in:
parent
7b87eefc9e
commit
e6a89f4c1d
4 changed files with 24 additions and 7 deletions
|
@ -2,6 +2,10 @@ on: [ push ]
|
||||||
env:
|
env:
|
||||||
FB_VERSION: 4.0.0
|
FB_VERSION: 4.0.0
|
||||||
REVISION: ${{ github.sha }}
|
REVISION: ${{ github.sha }}
|
||||||
|
IMAGE_TAG: varakh/filebin
|
||||||
|
VERSION_MAJOR: 4
|
||||||
|
VERSION_MINOR: 0
|
||||||
|
VERSION_PATCH: 0
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
@ -30,4 +34,5 @@ jobs:
|
||||||
with:
|
with:
|
||||||
build-args: FB_VERSION=${{ env.FB_VERSION }}
|
build-args: FB_VERSION=${{ env.FB_VERSION }}
|
||||||
push: false
|
push: false
|
||||||
tags: varakh/ts3web:${{ github.sha }}
|
tags: |
|
||||||
|
${{ env.IMAGE_TAG }}:${{ github.sha }}
|
||||||
|
|
|
@ -5,6 +5,10 @@ on:
|
||||||
env:
|
env:
|
||||||
FB_VERSION: 4.0.0
|
FB_VERSION: 4.0.0
|
||||||
REVISION: ${{ github.sha }}
|
REVISION: ${{ github.sha }}
|
||||||
|
IMAGE_TAG: varakh/filebin
|
||||||
|
VERSION_MAJOR: 4
|
||||||
|
VERSION_MINOR: 0
|
||||||
|
VERSION_PATCH: 0
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
@ -33,5 +37,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
build-args: FB_VERSION=${{ env.FB_VERSION }}
|
build-args: FB_VERSION=${{ env.FB_VERSION }}
|
||||||
push: true
|
push: true
|
||||||
tags: varakh/filebin:latest,varakh/filebin:${{ env.FB_VERSION }}
|
tags: |
|
||||||
|
${{ env.IMAGE_TAG }}:${{ env.VERSION_MAJOR }}
|
||||||
|
${{ env.IMAGE_TAG }}:${{ env.VERSION_MAJOR }}.${{ env.VERSION_MINOR }}
|
||||||
|
${{ env.IMAGE_TAG }}:${{ env.VERSION_MAJOR }}.${{ env.VERSION_MINOR }}.${{ env.VERSION_PATCH }}
|
||||||
|
${{ env.IMAGE_TAG }}:latest
|
||||||
|
|
|
@ -4,6 +4,10 @@ on:
|
||||||
env:
|
env:
|
||||||
FB_VERSION: 4.0.0
|
FB_VERSION: 4.0.0
|
||||||
REVISION: ${{ github.sha }}
|
REVISION: ${{ github.sha }}
|
||||||
|
IMAGE_TAG: varakh/filebin
|
||||||
|
VERSION_MAJOR: 4
|
||||||
|
VERSION_MINOR: 0
|
||||||
|
VERSION_PATCH: 0
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
@ -32,5 +36,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
build-args: FB_VERSION=${{ env.FB_VERSION }}
|
build-args: FB_VERSION=${{ env.FB_VERSION }}
|
||||||
push: true
|
push: true
|
||||||
tags: varakh/filebin:latest,varakh/filebin:${{ env.FB_VERSION }}
|
tags: |
|
||||||
|
${{ env.IMAGE_TAG }}:${{ env.VERSION_MAJOR }}
|
||||||
|
${{ env.IMAGE_TAG }}:${{ env.VERSION_MAJOR }}.${{ env.VERSION_MINOR }}
|
||||||
|
${{ env.IMAGE_TAG }}:${{ env.VERSION_MAJOR }}.${{ env.VERSION_MINOR }}.${{ env.VERSION_PATCH }}
|
||||||
|
${{ env.IMAGE_TAG }}:latest
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
# FileBin 🐋
|
# FileBin 🐋
|
||||||
|
|
||||||
[![Build Status](https://drone.myservermanager.com/api/badges/varakh/docker-filebin/status.svg)](https://drone.myservermanager.com/varakh/docker-filebin)
|
|
||||||
|
|
||||||
A docker image for [FileBin](https://git.server-speed.net/users/flo/filebin/) to have it up and running in seconds.
|
A docker image for [FileBin](https://git.server-speed.net/users/flo/filebin/) to have it up and running in seconds.
|
||||||
|
|
||||||
Visit project on [https://git.myservermanager.com/varakh/docker-filebin](https://git.myservermanager.com/varakh/docker-filebin)
|
Visit project on [https://git.myservermanager.com/varakh/docker-filebin](https://git.myservermanager.com/varakh/docker-filebin)
|
||||||
|
|
Loading…
Reference in a new issue