Skip to content

Commit bab8479

Browse files
committed
Remove github.event.inputs.tags
Signed-off-by: Aaron Wislang <[email protected]>
1 parent 110a551 commit bab8479

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/publish-devcontainer.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ on:
66
push:
77
branches: ['latest']
88
workflow_dispatch:
9-
inputs:
10-
tags:
11-
description: 'Tags for the Docker image'
12-
required: true
13-
default: 'latest'
149

1510
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
1611
env:
@@ -54,7 +49,7 @@ jobs:
5449
context: .
5550
file: .devcontainer/docker/Dockerfile
5651
push: true
57-
tags: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tags || steps.meta.outputs.tags }}
52+
tags: ${{ steps.meta.outputs.tags }}
5853
labels: ${{ steps.meta.outputs.labels }}
5954

6055
# This step generates an artifact attestation for the image, which is an unforgeable statement about where and how it was built. It increases supply chain security for people who consume the image. For more information, see "[AUTOTITLE](/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds)."

0 commit comments

Comments
 (0)