mirror of
https://github.com/ditkrg/build-image-workflow.git
synced 2026-01-22 21:27:05 +00:00
Commented out unnecessary code and removed unused step
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
11452e3e2a
commit
49ece91376
13
action.yml
13
action.yml
@ -30,9 +30,9 @@ inputs:
|
||||
description: "Secrets for build"
|
||||
|
||||
outputs:
|
||||
tag:
|
||||
description: "Image Tag"
|
||||
value: ${{ fromJson(steps.meta.outputs.json).tags[0] }}
|
||||
# tag:
|
||||
# description: "Image Tag"
|
||||
# value: ${{ fromJson(steps.meta.outputs.json).tags[0] }}
|
||||
tags:
|
||||
description: "Image Tags"
|
||||
value: ${{ steps.meta.outputs.tags }}
|
||||
@ -62,13 +62,6 @@ runs:
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=semver,pattern={{version}},priority=9999 #1
|
||||
|
||||
- name: Run a command and output JSON
|
||||
id: run-command
|
||||
shell: bash
|
||||
run: |
|
||||
echo ${{ steps.meta.outputs.json }} > meta.json
|
||||
cat meta.json
|
||||
|
||||
- name: Login to Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user