Skip to content

copy fe produce files into be #7

copy fe produce files into be

copy fe produce files into be #7

Workflow file for this run

name: build-release
on: push
jobs:
fe:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/[email protected]
with:
registry: docker.io
username: sssomeshhh
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Setup Docker Buildx
id: setup_buildx
uses: docker/[email protected]
- name: Build Target
uses: docker/[email protected]
with:
builder: ${{ steps.setup_buildx.name }}
context: ./fe
file: Dockerfile
target: fe
cache-from: |
type=registry,ref=sssomeshhh/cache:rentify-fe
cache-to: |
type=registry,ref=sssomeshhh/cache:rentify-fe
load: false
push: true
tags: |
sssomeshhh/rentify:fe
sssomeshhh/rentify:fe-${{ github.sha }}
build-args:
XE=fe
be:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/[email protected]
with:
registry: docker.io
username: sssomeshhh
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Setup Docker Buildx
id: setup_buildx
uses: docker/[email protected]
- name: Build Target
uses: docker/[email protected]
with:
builder: ${{ steps.setup_buildx.name }}
context: ./be
file: Dockerfile
target: be
cache-from: |
type=registry,ref=sssomeshhh/cache:rentify-be
cache-to: |
type=registry,ref=sssomeshhh/cache:rentify-be
load: false
push: true
tags: |
sssomeshhh/rentify:be
sssomeshhh/rentify:be-${{ github.sha }}
build-args:
XE=fe