fork/gdu

git clone https://git.julia.blue/fork/gdu

dependabot[bot]chore(deps): bump docker/login-action from 4 to 4.5.2 (#610)118d30d

ignore
907 B42 linesraw
1name: Docker
2
3on:
4  workflow_dispatch:
5  push:
6    branches:
7      - 'master'
8    tags:
9      - 'v*'
10
11env:
12  REGISTRY: ghcr.io
13  IMAGE_NAME: ${{ github.repository }}
14
15jobs:
16  docker:
17    runs-on: ubuntu-latest
18    steps:
19      -
20        name: Checkout
21        uses: actions/checkout@v7
22      -
23        name: Login to registry
24        uses: docker/login-action@v4.5.2
25        with:
26          registry: ${{ env.REGISTRY }}
27          username: ${{ github.actor }}
28          password: ${{ secrets.GITHUB_TOKEN }}
29      -
30        name: Docker meta
31        id: meta
32        uses: docker/metadata-action@v6
33        with:
34          images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
35      -
36        name: Build and push
37        uses: docker/build-push-action@v7
38        with:
39          context: .
40          push: true
41          tags: ${{ steps.meta.outputs.tags }}
42          labels: ${{ steps.meta.outputs.labels }}