-
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.
- Loading branch information
1 parent
ab72a16
commit 4d8bd8f
Showing
1 changed file
with
29 additions
and
0 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,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 }} | ||