Skip to content

remove static html

remove static html #8

Workflow file for this run

name: Docker Image CI
on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU dependency
uses: docker/setup-qemu-action@v1
- name: Docker Setup Buildx
uses: docker/[email protected]
- name: Docker Login
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ github.token }}
- name: Build and push Docker images
uses: docker/[email protected]
with:
context: .
file: docker/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/${{ github.repository_owner }}/mythic-web:pr
- name: Send update message
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
mythic-web:pr docker image updated
- name: Update rancher deployment
uses: th0th/[email protected]
with:
debug: 'true'
disable_output: 'false'
rancher_bearer_token: ${{ secrets.RANCHER_BEARER_TOKEN }}
rancher_cluster_id: ${{ secrets.RANCHER_CLUSTER_ID }}
rancher_namespace: 'default'
rancher_project_id: ${{ secrets.RANCHER_PROJECT_ID }}
rancher_url: ${{ secrets.RANCHER_URL }}
rancher_workloads: 'mythic-pr'
tls_skip_verification: 'false'