This repository has been archived by the owner on Oct 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #340 from gruberdev/feat/new_image
Registry migration, Image update
- Loading branch information
Showing
13 changed files
with
68 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,21 @@ platform: | |
arch: amd64 | ||
|
||
steps: | ||
- name: Build Image | ||
image: plugins/docker | ||
settings: | ||
dockerfile: Dockerfile | ||
pull_images: true | ||
repo: ghcr.io/gruberdev/freetf | ||
cache_from: ghcr.io/gruberdev/freetf | ||
registry: ghcr.io | ||
username: gruberdev | ||
password: | ||
from_secret: gh_token | ||
|
||
- name: Terraform Plan | ||
image: docker.io/grubertech/freetf:0.3 | ||
image: ghcr.io/gruberdev/freetf:latest | ||
commands: | ||
- apk update && apk add curl && sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin | ||
- task init-drone | ||
- mkdir -p ~/.ssh-temp | ||
- chmod 700 ~/.ssh-temp | ||
- ssh-keygen -t rsa -b 4096 -C "[email protected]" -N 'test' -f ~/.ssh-temp/id_rsa | ||
|
@@ -51,13 +61,16 @@ steps: | |
from_secret: aws_account_secret | ||
AWS_ACCESS_KEY_ID: | ||
from_secret: aws_account_id | ||
depends_on: | ||
- Build Image | ||
|
||
- name: Basic local testing | ||
image: docker.io/grubertech/freetf:0.3 | ||
- name: Finished testing | ||
image: ghcr.io/gruberdev/freetf:latest | ||
commands: | ||
- echo "Finished basic setup!" | ||
depends_on: | ||
- Terraform Plan | ||
- Build Image | ||
|
||
# - name: tfsec | ||
# image: tfsec/tfsec | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
c0311e7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
tf-free – ./
tf-free-git-main-gruberpx.vercel.app
tf-free-gruberpx.vercel.app
tf-free.vercel.app