Skip to content

Commit 6345b92

Browse files
committed
feat: change artifact.type per package
1 parent 1c39078 commit 6345b92

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/push_oci_artifact.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
"${{ steps.package.outputs.filename }}": {
109109
"org.opencontainers.image.title": "${{ steps.package.outputs.filename }}",
110110
"org.opencontainers.image.version": "${{ env.AGENT_VERSION }}",
111-
"com.newrelic.artifact.type": "binary"
111+
"com.newrelic.artifact.type": "package"
112112
}
113113
}
114114
EOF

docs/oci-packages/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ oras pull ghcr.io/newrelic/testing-infra-agent:v1.71.3 --platform linux/amd64
6363
- `annotations`:
6464
- `org.opencontainers.image.title`: will be the name of the file, it's added by oras client by default.
6565
- `org.opencontainers.image.version`: version of the binary for information purposes.
66-
- `com.newrelic.artifact.type`: if it's a binary (or set of binaries) of an agent_type
66+
- `com.newrelic.artifact.type`: if it's a package or an agent_type
6767
- `org.opencontainers.image.created`: added by default by oras client in the root.
6868

6969
Example:
@@ -86,7 +86,7 @@ Example:
8686
"annotations": {
8787
"org.opencontainers.image.title": "agent-control",
8888
"org.opencontainers.image.version": "2.4.1-rc1",
89-
"com.newrelic.artifact.type": "binary"
89+
"com.newrelic.artifact.type": "package"
9090
}
9191
}
9292
],

0 commit comments

Comments
 (0)