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]
|
||||
branches: master, develop
|
||||
|
||||
jobs:
|
||||
build:
|
||||
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:
|
||||
push:
|
||||
@ -11,12 +11,16 @@ jobs:
|
||||
name: Build image job
|
||||
steps:
|
||||
- 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
|
||||
uses: ilteoood/docker_buildx@master
|
||||
with:
|
||||
publish: true
|
||||
imageName: recipes
|
||||
tag: test
|
||||
platform: linux/amd64,linux/arm64
|
||||
tag: ${{ steps.get_version.outputs.VERSION }}
|
||||
dockerHubUser: ${{ secrets.DOCKER_USERNAME }}
|
||||
dockerHubPassword: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
Loading…
Reference in New Issue
Block a user