Skip to content

update deno lock

update deno lock #22

# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions
name: Deploy Stack
on:
push:
branches:
- "main"
# tags:
# - "v*"
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Log in to registry
uses: docker/login-action@v2
with:
username: ${{ secrets.CONTAINER_USERNAME }}
password: ${{ secrets.CONTAINER_PASSWORD }}
- name: Build and Push
uses: docker/build-push-action@v3
with:
push: true
tags: mobyit/catchemall:${{ github.sha }}
deploy:
needs: build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Change docker stack tag
run: |
sed -i "s/\${TAG}/${{ github.sha }}/g" docker-stack.yml
- name: Deploy Stack
uses: kitconcept/[email protected]
with:
remote_host: ${{ secrets.HOST }}
remote_user: ${{ secrets.USERNAME }}
remote_private_key: ${{ secrets.KEY }}
registry: "docker.io"
deploy_timeout: 180
username: ${{ secrets.CONTAINER_USERNAME }}
password: ${{ secrets.CONTAINER_PASSWORD }}
stack_file: "docker-stack.yml"
stack_name: "catchemall"