Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: deploy x-archetype as docker image #463

Merged
merged 14 commits into from
Mar 27, 2024
Prev Previous commit
Next Next commit
ci: add gh workflow to deploy docker image
diegopf committed Mar 14, 2024
commit 16af4f045941fb5668fb3c9c440385ee77e7a855
23 changes: 23 additions & 0 deletions .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release docker image on demand
on: [workflow_dispatch]
jobs:
deploy-docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- name: Installing dependencies
run: npm ci
shell: bash
- name: Build project
run: npm run build:docker
shell: bash
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
tags: empathyco/x-archetype:latest
push: true