[Security] update outdated dependencies #268
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 PR Branch | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build_image: | |
name: Build test image | |
runs-on: ubuntu-latest | |
steps: | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Test build | |
uses: docker/build-push-action@v6 | |
with: | |
push: false | |
tags: | | |
ghcr.io/zooniverse/sugar-branch:test | |
ghcr.io/zooniverse/sugar-branch:${{ github.sha }} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |