PROCESS: Hyperglosae frontend is published as a docker image (DON'T B… #7
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: Publish | ||
on: | ||
push: | ||
# branches: | ||
# - 'main' | ||
jobs: | ||
# build: | ||
# uses: ./.github/workflows/build.yml | ||
tests: | ||
uses: ./.github/workflows/tests.yml | ||
Check failure on line 14 in .github/workflows/publish.yml
|
||
publish: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download sources | ||
uses: actions/checkout@v4 | ||
- name: Get frontend build | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: frontend-build | ||
path: frontend/build | ||
- 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: benel | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Build and push | ||
uses: docker/build-push-action@v6 | ||
with: | ||
context: . #No checkout | ||
push: true | ||
tags: benel/hyperglosae:latest |