Fix stage nav hover gray element #69
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: Continuous Deployment Easy Install on PR | |
on: | |
pull_request: | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
env: | |
GIT_REF: ${{ github.head_ref || github.ref_name }} # ref_name to get tags/branches | |
GIT_HASH: ${{ github.sha }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Set docker tag | |
run: | | |
echo "DOCKER_TAG=${{ secrets.DOCKERHUB_USERNAME }}/woofedcrm:easy-install-$GIT_REF-$GIT_HASH" >> $GITHUB_ENV | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and push | |
uses: docker/build-push-action@v2 | |
with: | |
context: . | |
file: docker/easy-install/Dockerfile | |
platforms: linux/amd64 | |
push: true | |
tags: ${{ env.DOCKER_TAG }} |