Skip to content

Merge pull request #24 from waku-org/weboko/change-pubsub #16

Merge pull request #24 from waku-org/weboko/change-pubsub

Merge pull request #24 from waku-org/weboko/change-pubsub #16

Workflow file for this run

name: Push Image (master)
on:
push:
branches:
- 'master'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- id: commit
uses: pr-mpt/actions-commit-hash@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Checkout to waku-frontend
uses: actions/checkout@v3
with:
repository: waku-org/waku-frontend
- name: Setup node.js
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
- name: Setup npm
uses: bahmutov/npm-install@v1
- name: Artefact build
run: npm run build
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
# temporal, migrate to waku-org
tags: alrevuelta/waku-frontend:${{ steps.commit.outputs.short }} , alrevuelta/waku-frontend:latest
build-args: BUILD_VERSION=${{ steps.commit.outputs.hash }}