test new tags
This commit is contained in:
parent
3fcde897b7
commit
bf575badb0
43
.github/workflows/docker-image.yml
vendored
Normal file
43
.github/workflows/docker-image.yml
vendored
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
name: Docker Image CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
release:
|
||||||
|
types:
|
||||||
|
- published
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Push Docker image to Docker Hub
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out the repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Log in to Docker Hub
|
||||||
|
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
|
||||||
|
with:
|
||||||
|
images: ohmyform/ohmyform
|
||||||
|
tags: |
|
||||||
|
type=raw,value=latest
|
||||||
|
type=semver,pattern={{major}}
|
||||||
|
type=semver,pattern={{major}}.{{minor}}
|
||||||
|
type=semver,pattern={{version}}
|
||||||
|
|
||||||
|
- name: Build and push Docker image
|
||||||
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- heroku deployments
|
- heroku deployments
|
||||||
- fix problem with node-prune on production build
|
- fix problem with node-prune on production build
|
||||||
- variable names in examples (https://github.com/ohmyform/ohmyform/issues/134)
|
- variable names in examples (https://github.com/ohmyform/ohmyform/issues/134)
|
||||||
|
- error if /run/nginx already exists (https://github.com/ohmyform/ohmyform/pull/148)
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
|||||||
2
api
2
api
@ -1 +1 @@
|
|||||||
Subproject commit 6c0181c09dff9af786195c811b8bf57063f8223e
|
Subproject commit 4f665f6d4b52634ec0e3ca4d8bc6c479ec82c51f
|
||||||
2
ui
2
ui
@ -1 +1 @@
|
|||||||
Subproject commit e54da2b1110ebda0f1dd5997adf2ebeeb3bd4da9
|
Subproject commit 1f0926c904d4aae5bec437c19aed7bf97e9ebe6e
|
||||||
Loading…
x
Reference in New Issue
Block a user