Skip to content

Bump actions/checkout from 2.3.4 to 4.0.0 #119

Bump actions/checkout from 2.3.4 to 4.0.0

Bump actions/checkout from 2.3.4 to 4.0.0 #119

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
release:
types:
- created
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- id: docker_meta
uses: docker/[email protected]
with:
images: |
ghcr.io/${{ github.repository }}
flavor: |
latest=true
tags: |
type=sha,format=long
type=edge,branch=$repo.default_branch
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Login to docker registry
if: ${{ github.event_name != 'pull_request' }}
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to GitHub Packages
uses: docker/[email protected]
with:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}