1
0
Fork 0

Compare commits

...

2 Commits
v0.1.0 ... main

Author SHA1 Message Date
Ambrose Chua 9784bef263
ci: Fix Docker tagging 2021-11-16 21:47:33 +08:00
Ambrose Chua 38cb735593 ci: Set deployment environment 2021-11-16 13:05:25 +08:00
1 changed files with 8 additions and 0 deletions

View File

@ -36,6 +36,11 @@ jobs:
uses: docker/metadata-action@v3
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
id: meta
- name: Build and push Docker images
@ -51,6 +56,9 @@ jobs:
name: Deploy to pricklypear
runs-on: ubuntu-latest
needs: publish
environment:
name: production
url: https://datetime.link
steps:
- name: Import SSH key