Skip to content

Commit 18ca254

Browse files
chore(docker-import-digests-push-manifest): remove unused input (#1405)
* remove unused docker-metadata-json input * prettier fix
1 parent 7ffbace commit 18ca254

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

actions/docker-import-digests-push-manifest/README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,21 @@ jobs:
3030
- name: Download Multi-Arch Digests, Construct and Upload Manifest
3131
uses: grafana/shared-workflows/actions/docker-import-digests-push-manifest@docker-import-digests-push-manifest/v0.0.0
3232
with:
33-
docker-metadata-json: ${{ needs.docker-build-push-image.outputs.metadatajson }}
3433
gar-environment: "dev"
3534
images: ${{ needs.docker-build-push-image.outputs.images }}
3635
push: true
36+
tags: |
37+
latest
38+
${{ github.sha }}
3739
```
3840
3941
<!-- x-release-please-end-version -->
4042
4143
## Inputs
4244
43-
| Name | Type | Description |
44-
| ---------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
45-
| `docker-metadata-json` | String | Docker metadata JSON, from `docker-build-push-image` or `docker/build-push-action`. |
46-
| `gar-environment` | String | Environment for pushing artifacts (can be either dev or prod). This sets the GAR Project to either `grafanalabs-dev` or `grafanalabs-global`. |
47-
| `images` | String | CSV of Docker images to push. These images should not include tags. Ex: us-docker.pkg.dev/grafanalabs-dev/gar-registry/image-name,docker.io/grafana/dockerhub-image |
48-
| `push` | Boolean | Whether to push the manifest to the configured registries. |
49-
| `tags` | String | List of Docker tags to be pushed. |
45+
| Name | Type | Description |
46+
| ----------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
47+
| `gar-environment` | String | Environment for pushing artifacts (can be either dev or prod). This sets the GAR Project to either `grafanalabs-dev` or `grafanalabs-global`. |
48+
| `images` | String | CSV of Docker images to push. These images should not include tags. Ex: us-docker.pkg.dev/grafanalabs-dev/gar-registry/image-name,docker.io/grafana/dockerhub-image |
49+
| `push` | Boolean | Whether to push the manifest to the configured registries. |
50+
| `tags` | String | List of Docker tags to be pushed. |

actions/docker-import-digests-push-manifest/action.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ name: Download and Merge Docker Digests into Manifest
22
description: Composite action to export and upload a docker manifest
33

44
inputs:
5-
docker-metadata-json:
6-
description: |
7-
Docker metadata JSON, from `docker-build-push-image` or `docker/build-push-action`.
8-
default: ""
95
gar-environment:
106
description: |
117
Environment for pushing artifacts (can be either dev or prod).

0 commit comments

Comments
 (0)