mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 08:13:49 +10:00
fix build-deploy script
This commit is contained in:
11
.github/workflows/build-deploy.yml
vendored
11
.github/workflows/build-deploy.yml
vendored
@ -2,9 +2,8 @@ name: Build and Deploy
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
REGISTRY_IMAGE: amruthpillai/reactive-resume
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -19,6 +18,7 @@ jobs:
|
||||
- server
|
||||
platform:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
|
||||
steps:
|
||||
- name: Checkout the repository
|
||||
@ -32,7 +32,7 @@ jobs:
|
||||
id: meta
|
||||
uses: docker/metadata-action@v4.5.0
|
||||
with:
|
||||
images: ${{ env.REGISTRY_IMAGE }}
|
||||
images: amruthpillai/reactive-resume
|
||||
tags: |
|
||||
type=raw,value=${{ matrix.image }}-latest
|
||||
type=raw,value=${{ matrix.image }}-${{ steps.version.outputs.current-version }}
|
||||
@ -71,9 +71,10 @@ jobs:
|
||||
|
||||
deploy:
|
||||
name: Deploy
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
needs: build
|
||||
|
||||
steps:
|
||||
- name: Install DigitalOcean CLI
|
||||
uses: digitalocean/action-doctl@v2.3.0
|
||||
|
||||
Reference in New Issue
Block a user