Skip to content

build: update Node to LTS 24.11 and Yarn to 4.10.3 #3

build: update Node to LTS 24.11 and Yarn to 4.10.3

build: update Node to LTS 24.11 and Yarn to 4.10.3 #3

Workflow file for this run

name: Build and Push to GHCR
on:
push:
branches:
- main
tags:
- 'v*.*.*'
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/MetaMask/metamask-extension-e2e-image
tags: |
type=ref,event=branch
type=ref,event=tag
type=sha
labels: |
org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
org.opencontainers.image.revision=${{ github.sha }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}