Skip to content

Merge pull request #16 from Troopers/chore-avoid-warning-from-apt-get #16

Merge pull request #16 from Troopers/chore-avoid-warning-from-apt-get

Merge pull request #16 from Troopers/chore-avoid-warning-from-apt-get #16

Workflow file for this run

name: push
on:
push:
branches:
- 'main'
tags:
- '*'
jobs:
push:
name: "Push ${{ matrix.image }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
image:
- cypress-16-docker-compose
- node-12-eas
- node-14-eas
- node-16-curl-tidy
- node-16-curl-tidy-yarn-3
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push ${{ matrix.image }}
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}:${{ matrix.image }}"
push: true
tags: |
ghcr.io/troopers/${{ matrix.image }}:${{github.ref_name}}
ghcr.io/troopers/${{ matrix.image }}:latest