Skip to content

chore(deps): update crazy-max/ghaction-docker-meta action to v4.6.0 #2499

chore(deps): update crazy-max/ghaction-docker-meta action to v4.6.0

chore(deps): update crazy-max/ghaction-docker-meta action to v4.6.0 #2499

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 18.20.0
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: node_modules
key: npm-${{ hashFiles('package-lock.json') }}
- run: npm install
- run: npm run lint
- run: npm run test
- id: docker_meta
uses: crazy-max/ghaction-docker-meta@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4.6.0
with:
images: docker.pkg.github.com/appvia/githubUserManager/githubUserManager
tag-sha: true
tag-latest: true
tag-semver: |
{{version}}
label-custom: |
org.opencontainers.image.vendor=appvia
org.opencontainers.image.documentation=https://github.com/appvia/githubUserManager
org.opencontainers.image.authors=Chris Nesbitt-Smith <chris.nesbitt-smith@appvia.io>
maintainer=appvia
- name: Login to docker registry
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # tag=v2.1.0
with:
registry: docker.pkg.github.com
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to GitHub Packages
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 # v4.0.0
with:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}