Skip to content

Merge pull request #384 from goplus/dependabot/github_actions/codecov… #169

Merge pull request #384 from goplus/dependabot/github_actions/codecov…

Merge pull request #384 from goplus/dependabot/github_actions/codecov… #169

Workflow file for this run

name: deploy
on:
push:
branches:
- 'dev'
- 'main'
- 'feat/mvp-20240119'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set branch name to an output variable
id: set_branch
run: echo "BRANCH_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV
-
name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/${{ github.repository_owner }}-goplus-community-${{ env.BRANCH_NAME }}:latest