umami not on localhost #78
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: Build and Push Docker Image v2 | |
on: | |
push: | |
paths: | |
- 'v2/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Log in to Docker Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: registry.l4rs.net | |
username: ${{ secrets.REGISTRY_USERNAME }} | |
password: ${{ secrets.REGISTRY_PASSWORD }} | |
- name: Build and push Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
context: ./v2 | |
file: ./v2/Dockerfile | |
push: true | |
platforms: linux/amd64,linux/arm64 | |
tags: registry.l4rs.net/hilars-dev:${{ github.sha }} | |
- name: Log out from Docker Registry | |
run: docker logout registry.l4rs.net |