Skip to content

login via controllers #80

login via controllers

login via controllers #80

Workflow file for this run

# name: DockerHub Deploy
# on:
# push:
# branches:
# - main
# jobs:
# docker:
# if: github.repository == 'ndrean/liveview-pwa'
# name: Build and Push to Docker Hub
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# - name: Log in to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
# - name: Extract commit SHA
# id: vars
# run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
# - name: Build Docker image
# run: docker build -t ndrean/pwa-liveview:${{ steps.vars.outputs.sha_short }} .
# - name: Push Docker image
# run: docker push ndrean/pwa-liveview:${{ steps.vars.outputs.sha_short }}