Fix advanced form submit when the footer menu is opened - Fixes #418 #119
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-docker-publish-dev | |
on: | |
push: | |
branches: | |
- dev | |
paths: | |
- .github/workflows/ci-docker-publish-dev.yml | |
- app/** | |
- bootstrap/** | |
- config/** | |
- database/** | |
- docker/** | |
- public/** | |
- resources/** | |
- routes/** | |
- storage/** | |
- tests/** | |
- .dockerignore | |
- .env.travis | |
- artisan | |
- composer.json | |
- composer.lock | |
- Dockerfile | |
- phpunit.xml | |
pull_request: | |
branches: | |
- dev | |
paths: | |
- .github/workflows/ci-docker-publish-dev.yml | |
- app/** | |
- bootstrap/** | |
- config/** | |
- database/** | |
- docker/** | |
- public/** | |
- resources/** | |
- routes/** | |
- storage/** | |
- tests/** | |
- .dockerignore | |
- .env.travis | |
- artisan | |
- composer.json | |
- composer.lock | |
- Dockerfile | |
- phpunit.xml | |
jobs: | |
publish: | |
if: | | |
(github.event_name == 'push' && github.repository == 'Bubka/2FAuth') || | |
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'Bubka/2FAuth' && github.actor != 'dependabot[bot]') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{github.event.pull_request.head.ref}} | |
repository: ${{github.event.pull_request.head.repo.full_name}} | |
- uses: docker/setup-qemu-action@v3 | |
- uses: docker/setup-buildx-action@v3 | |
- uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Set variables | |
id: set_vars | |
env: | |
EVENT_NAME: ${{ github.event_name }} | |
run: | | |
echo "commit=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | |
echo "created=$(date -u +%Y-%m-%dT%H:%M:%SZ)" >> $GITHUB_OUTPUT | |
echo "platforms=linux/amd64,linux/386" >> $GITHUB_OUTPUT | |
- name: Build and push to docker Hub | |
uses: docker/build-push-action@v6 | |
with: | |
platforms: ${{ steps.set_vars.outputs.platforms }} | |
build-args: | | |
CREATED=${{ steps.set_vars.outputs.created }} | |
COMMIT=${{ steps.set_vars.outputs.commit }} | |
VERSION=dev | |
tags: | | |
2fauth/2fauth:dev | |
push: true |