actions testing
This commit is contained in:
parent
83b5b6695c
commit
07183fd40f
4
.github/workflows/docker-publish.yml
vendored
4
.github/workflows/docker-publish.yml
vendored
@ -1,5 +1,7 @@
|
|||||||
name: Publish Docker
|
name: Publish latest/develop Docker
|
||||||
on: [push]
|
on: [push]
|
||||||
|
branches: master, develop
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
10
.github/workflows/docker-release-publish.yml
vendored
10
.github/workflows/docker-release-publish.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Deploy Docker Image
|
name: Release DockerHub Version
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -11,12 +11,16 @@ jobs:
|
|||||||
name: Build image job
|
name: Build image job
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout master
|
- name: Checkout master
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@master#
|
||||||
|
- name: Get the version
|
||||||
|
id: get_version
|
||||||
|
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
|
||||||
- name: Build and publish image
|
- name: Build and publish image
|
||||||
uses: ilteoood/docker_buildx@master
|
uses: ilteoood/docker_buildx@master
|
||||||
with:
|
with:
|
||||||
publish: true
|
publish: true
|
||||||
imageName: recipes
|
imageName: recipes
|
||||||
tag: test
|
platform: linux/amd64,linux/arm64
|
||||||
|
tag: ${{ steps.get_version.outputs.VERSION }}
|
||||||
dockerHubUser: ${{ secrets.DOCKER_USERNAME }}
|
dockerHubUser: ${{ secrets.DOCKER_USERNAME }}
|
||||||
dockerHubPassword: ${{ secrets.DOCKER_PASSWORD }}
|
dockerHubPassword: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
Loading…
Reference in New Issue
Block a user