mirror of
https://github.com/logos-messaging/logos-messaging-frontend.git
synced 2026-01-02 13:53:13 +00:00
Push to docker
This commit is contained in:
parent
26632559f3
commit
a1002de3d3
32
.github/workflows/push.yml
vendored
Normal file
32
.github/workflows/push.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
name: Push Image (master)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
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: Build and push
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
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 }}
|
||||
Loading…
x
Reference in New Issue
Block a user