Skip to content

Commit

Permalink
update v1 (#53)
Browse files Browse the repository at this point in the history
* 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
arcticfalcon authored Jun 17, 2024
1 parent 74142fe commit 143270a
Show file tree
Hide file tree
Showing 9 changed files with 11,337 additions and 31,501 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
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 }}
2 changes: 1 addition & 1 deletion .github/workflows/tagging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Push RC tag
uses: mercadolibre/fury-core-ci@dev
uses: ./
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
# Websec hook is MANDATORY, DO NOT comment it.
- repo: https://github.com/mercadolibre/fury_websec-git-hooks
rev: v1.0.1
rev: v1.0.5
hooks:
- id: pre_commit_hook
stages: [commit]
Expand Down
12 changes: 6 additions & 6 deletions action.yml
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'
Loading

0 comments on commit 143270a

Please sign in to comment.