Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

Use GitHub actions #63

Merged
merged 5 commits into from
Feb 22, 2024
Merged

Use GitHub actions #63

merged 5 commits into from
Feb 22, 2024

Conversation

jason-jackson
Copy link
Contributor

@jason-jackson jason-jackson commented Feb 22, 2024

Added

  • Github actions workflow

Changed

  • Split up docker-compose.yml so that Github actions would run

Removed

  • Codeship files

Note: Github Actions will fail if there are any env_files, even if they are part of a service that is not being used by Github Actions.

@jason-jackson jason-jackson requested a review from a team February 22, 2024 00:47
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am curious if this is needed, see docs:

context String Build's context is the set of files located in the specified PATH or URL(default Git context)

context String Build's context is the set of files located in the specified PATH or URL (default Git context)

x-common-variables: &test-variables
HOST: http://testapp
COOKIE_NAME: _proxy
TOKEN_SECRET: Rm9yIEdvZCBzbyBsb3ZlZCB0aGUgd29ybGQgdGhhdCBoZSBnYXZlIGhpcyBvbmUgYW5kIG9ubHkgU29uLCB0aGF0IHdob2V2ZXIgYmVsaWV2ZXMgaW4gaGltIHNoYWxsIG5vdCBwZXJpc2ggYnV0IGhhdmUgZXRlcm5hbCBsaWZlLiAtIEpvaG4gMzoxNg==
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm surprised this didn't trigger a warning that a secret was committed. I wonder if we can use something simpler here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this repo has all the settings set like other repos.

I may be able to use something simpler, but I think I ran into issues if I did something too simple like abc123

docker-compose.test.yml Show resolved Hide resolved
@jason-jackson jason-jackson merged commit 7ac3941 into develop Feb 22, 2024
2 checks passed
@jason-jackson jason-jackson deleted the feature/use-github-actions branch February 22, 2024 15:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants