Skip to content

refactor: cleanup Asset model (#114) #32

refactor: cleanup Asset model (#114)

refactor: cleanup Asset model (#114) #32

Workflow file for this run

name: CD
on:
push:
branches:
- 'main'
# Grant permissions to obtain federated identity credentials
# see https://docs.github.com/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure
permissions:
id-token: write
contents: read
jobs:
# Build runtime image in Azure Container Registry, tagged with the commit ID.
Build:
runs-on: ubuntu-latest
steps:
# Checkout code
- uses: actions/checkout@v4
# Build Docker runtime image
- name: 'Build image'
run: docker build -t data-dashboard .
# Run Docker container
- name: 'Run container'
run: docker run -p 8080:80 -d --rm --name data-dashboard data-dashboard
# Verify docker image
- name: 'Verify container'
run: |
curl -O https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh
chmod +x wait-for-it.sh
./wait-for-it.sh -t 20 localhost:8080