Commented out unnecessary code and removed unused step

Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
Shakar Bakr 2024-03-03 14:36:17 +03:00
parent 11452e3e2a
commit 49ece91376
No known key found for this signature in database
GPG Key ID: DA55A26823AE3C28

View File

@ -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: