-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update libraries * update dev config * build workflow for testing * testing new version * testing new version * Beta (#48) * update libraries and node to 20 * testing new version * testing new version * cleanup * optional build trigger * optional build trigger * optional build trigger * unused code
- Loading branch information
1 parent
74142fe
commit 143270a
Showing
9 changed files
with
11,337 additions
and
31,501 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Build | ||
on: workflow_dispatch | ||
jobs: | ||
build_and_push: | ||
name: Push Docker image to Docker Registry | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
flavor: | | ||
latest=false | ||
images: docker-core.artifacts.furycloud.io/mercadolibre/fury-core/${{ github.repository }} | ||
|
||
- uses: actions/setup-node@v2 | ||
- name: Build config | ||
env: | ||
NODE_ENV: production | ||
run: yarn install --frozen-file | ||
|
||
- run: | | ||
echo "Labels: $LABELS" | ||
echo "Tags: $TAGS" | ||
env: | ||
TAGS: ${{ steps.meta.outputs.tags }} | ||
LABELS: ${{ steps.meta.outputs.labels }} | ||
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
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name: 'CoreWorkflow' | ||
description: 'Generate tags according to core workflow' | ||
#inputs: | ||
# milliseconds: # id of input | ||
# description: 'number of milliseconds to wait' | ||
# required: true | ||
# default: '1000' | ||
inputs: | ||
trigger-build: # id of input | ||
description: 'trigger a build workflow defined in the repository actions' | ||
required: false | ||
default: 'false' | ||
outputs: | ||
new_tag: | ||
description: 'Generated tag' | ||
pre_release: | ||
description: 'Whether it is a release candidate' | ||
runs: | ||
using: 'node16' | ||
using: 'node20' | ||
main: 'dist/index.js' |
Oops, something went wrong.