Skip to content

Commit

Permalink
feat: docker (#759)
Browse files Browse the repository at this point in the history
* chore: fix repo url field

apparently semantic-release likes this better I don't know

* chore(deps-dev): install semantic-release, initial config

* chore(deps-dev): add husky + commitlint

* ci: add release.yml

* feat: fix comment

technically a chore but making it a feat to see what semantic-release does with it

* chore: temporarily disable dryrun :meow-sweat:

* fix: next channel

* fix: remove some of the package scripts

* chore: restore dry runs

* feat: add git + changelog plugins

* chore(temp): disable dry-run

* build(release): 🚀 v8.6.0-next.2 release 🦉

# [8.6.0-next.2](v8.6.0-next.1...v8.6.0-next.2) (2023-02-10)

### Features

* add git + changelog plugins ([85e4bfd](85e4bfd))

[skip ci]

* chore: little bits of cleanup

* fix: rebuild prior to npm publish

* fix: reformat github release header

* build(release): 🚀 v8.6.0-next.3 🦉

## What's Changed in 8.6.0-next.3

### Bug Fixes

* rebuild prior to npm publish ([29b9ec6](29b9ec6))
* reformat github release header ([38c5625](38c5625))

[skip ci]

* fix: reformat header again

* feat: drop duplicative tag

* build(release): 🚀 v8.6.0-next.4 🦉

## What's Changed

### Bug Fixes

* reformat header again ([bd2e1a2](bd2e1a2))

### Features

* drop duplicative tag ([4c34207](4c34207))

[skip ci]

* chore: remove github release npm script

* Revert "feat: drop duplicative tag"

This reverts commit 4c34207.

* fix: try rearranging steps like this

hopefully this will put the extra tag on the correct commit?

* build(release): 🚀 v8.6.0-next.5 🦉

## What's Changed

### Bug Fixes

* try rearranging steps like this ([cac0c1d](cac0c1d))

### Reverts

* Revert "feat: drop duplicative tag" ([f9fe6c6](f9fe6c6))

[skip ci]

* revert: don't set header for changelog

* chore: add comment

* Revert "chore: remove github release npm script"

This reverts commit 05300e7.

* chore(deps-dev): install @semantic-release/exec

* fix: run tests but NOT release workflow on release commits

* chore: add another comment

* fix: try this as an alternative to @semantic-release/github

this way we can create draft releases that aren't ugly

* build(release): 🚀 v8.6.0-next.6 🦉

# [8.6.0-next.6](v8.6.0-next.5...v8.6.0-next.6) (2023-02-13)

### Bug Fixes

* run tests but NOT release workflow on release commits ([24f885e](24f885e))
* try this as an alternative to @semantic-release/github ([8c343a0](8c343a0))

### Reverts

* Revert "chore: remove github release npm script" ([e77b67a](e77b67a))
* don't set header for changelog ([194489e](194489e))

[skip release ci]

* refactor: get rid of npm script

* chore: add comment

* chore: remove another now-redundant npm script

* chore: c'mon man

* docs: update MAINTAINERS.md

* chore: cleanup

* chore: fix up a few GHA branch setups

* chore: remove a redundant rules

* revert: ugh here we go again

This reverts commit 1b547dc.

* fix: try this approach to lifecycle events

* fix: turns out these rules weren't redundant

This reverts commit b28c936.

* build(release): 🚀 v8.6.0-next.7 🦉

# [8.6.0-next.7](v8.6.0-next.6...v8.6.0-next.7) (2023-02-13)

### Bug Fixes

* try this approach to lifecycle events ([4e5ecff](4e5ecff))
* turns out these rules weren't redundant ([f9f82f1](f9f82f1))

### Reverts

* ugh here we go again ([0b1e429](0b1e429))

[skip release ci]

* fix: does this work?

* chore: cleanup + cache

* build(release): 🚀 v8.6.0-next.8 🦉

# [8.6.0-next.8](v8.6.0-next.7...v8.6.0-next.8) (2023-02-13)

### Bug Fixes

* does this work? ([c81e432](c81e432))

[skip release]

* revert: bring workflow name back

* chore: use this convention instead

github actions don't appear to run for the merge commit and I don't know why so I'm just gonna have it skip CI entirely in a cleaner platform-native way

https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/

* chore: ok stop this now

* fix: remove unnecessary config

* chore: initial commit

* chore: how about this?

* chore: what about this

* fix: try this instead

* chore: see if warnings are surfaced properly

* Revert "chore: see if warnings are surfaced properly"

This reverts commit edaf715.

* revert: restore simple.yml

* chore: update dockerfile path

* fix: bad merge

* chore: shorten docker path

* perf: try using alpine

---------

Co-authored-by: semantic-release-bot <[email protected]>
  • Loading branch information
kanadgupta and semantic-release-bot authored Feb 15, 2023
1 parent 621b966 commit ef63371
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:16-alpine

COPY . /rdme

RUN cd /rdme && npm ci && npm run build

CMD ["sh", "-c", "/rdme/bin/rdme $INPUT_RDME"]
11 changes: 2 additions & 9 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,5 @@ inputs:
description: Command to pass into rdme
required: true
runs:
using: composite
steps:
- name: Set up rdme
run: npm install --silent --no-save && npm run build --silent
shell: bash
working-directory: ${{ github.action_path }}
- name: Execute rdme command
run: ${{ github.action_path }}/bin/rdme ${{ inputs.rdme }}
shell: bash
using: docker
image: Dockerfile

0 comments on commit ef63371

Please sign in to comment.