Skip to content

chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 (#4) #6

chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 (#4)

chore(deps): bump follow-redirects from 1.15.2 to 1.15.4 (#4) #6

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node CI
on:
push:
branches: [main]
tags: [v*]
paths-ignore:
- '**/README.md'
- '**/LICENSE'
- 'k8s/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push (staging)
if: github.ref_name == 'main'
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/arm64,linux/amd64
push: true
tags: ghcr.io/${{github.repository}}:main
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Build and push (prod)
if: startsWith(github.ref_name, 'v')
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/arm64,linux/amd64
push: true
tags: ghcr.io/${{github.repository}}:${{github.ref_name}},ghcr.io/${{github.repository}}:latest
cache-from: type=gha
cache-to: type=gha,mode=max