using push event

This commit is contained in:
Jonathan Taylor
2023-08-21 13:38:55 -07:00
parent 3c748c15fe
commit 91a9d76efb

View File

@@ -2,12 +2,11 @@ name: Publish Docker image
on: on:
workflow_dispatch: workflow_dispatch:
inputs: push:
LABS: tags:
description: 'Labs version' - 'v*'
required: true branches:
default: 'v2.1.1' - 'stable'
type: string
jobs: jobs:
@@ -17,8 +16,6 @@ jobs:
steps: steps:
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
ref: ${{ inputs.LABS }}
- name: Log in to Docker Hub - name: Log in to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
@@ -30,8 +27,6 @@ jobs:
id: meta id: meta
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
tags: |
type=semver,pattern={{raw}}
images: jetaylor74/islp_labs images: jetaylor74/islp_labs
- name: Build and push Docker image - name: Build and push Docker image