Compare commits

...
3 Commits
Author SHA1 Message Date
bryce ba1fbed5d1 Merge pull request 'V2 1.0.2' (#3) from v2_1.0.2 into main
Push to main / Reset-Version-Tag (push) Successful in 34s
Reviewed-on: #3
2026-09-23 07:59:56 -06:00
bryce f3b69f23d6 no prompt 2026-09-23 07:59:27 -06:00
bryce 63e28fd80a v2_1.0.2 2026-09-23 07:57:47 -06:00
2 changed files with 6 additions and 1 deletions

No files matched your search

+5
View File
@@ -14,10 +14,15 @@ console.log("======== LOGGING IN TO CONTAINER REPO ========");
execSync(
"docker login $INPUT_CONTAINER_DOMAIN -u $INPUT_LOGIN_USER --password $INPUT_LOGIN_PASS",
);
console.log("============= BUILDING CONTAINER =============");
execSync(
`docker build -t $INPUT_CONTAINER_DOMAIN/$INPUT_CONTAINER_NAME:latest -t $INPUT_CONTAINER_DOMAIN/$INPUT_CONTAINER_NAME:${tag} --no-cache .`,
);
console.log("============= PUSHING CONTAINER ==============");
execSync(`docker push $INPUT_CONTAINER_DOMAIN/$INPUT_CONTAINER_NAME:${tag}`);
execSync(`docker push $INPUT_CONTAINER_DOMAIN/$INPUT_CONTAINER_NAME:latest`);
console.log("============= CLEANING UP =============");
execSync("docker system prune -a -f");
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "container_publish",
"version": "1.0.1",
"version": "1.0.2",
"description": "gitea action for publishing the latest changes to a container repository",
"repository": {
"type": "git",