Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docker): publish images for both arm64 as amd64 (#354)
Additionally, update the GitHub workflows to be a bit more modern. A lot of tricks that were needed "in the old days" have much better alternatives these days.
- Loading branch information
Showing
6 changed files
with
53 additions
and
157 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
publish_image: | ||
name: Publish image | ||
uses: OpenTTD/actions/.github/workflows/publish-image.yml@v3 | ||
|
||
deploy: | ||
name: Deploy | ||
needs: | ||
- publish_image | ||
|
||
uses: OpenTTD/actions/.github/workflows/aws-deployment.yml@v3 | ||
with: | ||
is_staging: ${{ github.ref == 'refs/heads/main' }} | ||
name: Wiki | ||
url_production: https://wiki.openttd.org | ||
url_staging: https://wiki.staging.openttd.org | ||
digest: ${{ needs.publish_image.outputs.digest }} | ||
version: ${{ needs.publish_image.outputs.version }} | ||
secrets: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_REGION: ${{ secrets.AWS_REGION }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |
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