commit
9e17bf2c35
16
.github/workflows/master.yml
vendored
16
.github/workflows/master.yml
vendored
@ -2,15 +2,13 @@ name: Build and Push Docker images
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches-ignore:
|
|
||||||
- master
|
|
||||||
pull_request_target:
|
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
types:
|
|
||||||
- closed
|
|
||||||
paths:
|
paths:
|
||||||
- 'version.txt'
|
- 'version.txt'
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
||||||
@ -42,11 +40,15 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: jierka/obscreen:${{ steps.version.outputs.VERSION }}
|
tags: |
|
||||||
|
jierka/obscreen:v${{ steps.version.outputs.VERSION }}
|
||||||
|
jierka/obscreen:latest
|
||||||
platforms: linux/amd64, linux/arm64/v8, linux/arm/v7
|
platforms: linux/amd64, linux/arm64/v8, linux/arm/v7
|
||||||
|
|
||||||
- name: Create and push manifest
|
- name: Create and push manifest
|
||||||
uses: docker/metadata-action@v3
|
uses: docker/metadata-action@v3
|
||||||
with:
|
with:
|
||||||
images: jierka/obscreen
|
images: jierka/obscreen
|
||||||
tags: type=semver,pattern={{version}}
|
tags: type=semver,pattern=v{{version}}
|
||||||
|
flavor: |
|
||||||
|
latest=true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user