Skip to content

change production node #7

change production node

change production node #7

Workflow file for this run

name: Publish Docker Image
# Controls when the action will run.
on:
# Triggers the workflow on push (only for the develop branch)
push:
branches: [ master, develop ]
# Triggers on a release being published
release:
types: [ published ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
publish:
# The type of runner that the job will run on
runs-on: ubuntu-22.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v3
env:
TAG: universaldot/front-end
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: universaldot/front-end:develop