Skip to content

Commit

Permalink
build workflow for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticfalcon committed Sep 13, 2023
1 parent ab72a16 commit 4d8bd8f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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@v3
with:
images: docker-core.artifacts.furycloud.io/mercadolibre/fury-core/fury-core-ci

- 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 }}

0 comments on commit 4d8bd8f

Please sign in to comment.