Skip to content

Carpeta Apagado agregada #8

Carpeta Apagado agregada

Carpeta Apagado agregada #8

Workflow file for this run

name: Docker CI
on:
push:
branches: [ "main" ]
jobs:
build:
name: Docker build
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build docker image
run: |
docker build --platform linux --tag aminespinoza/websiteplatzi:latest -f CI/Dockerfile .
- name: Publish docker image
run: |
docker push aminespinoza/websiteplatzi:latest
- name: App service auth
uses: azure/webapps-deploy@v2
with:
app-name: 'amineswebapp '
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
images: 'aminespinoza/websiteplatzi:latest'