mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-01 21:08:49 +00:00
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v1...v2) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
name: ci-link-checker-image
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- '.github/website_link_checker/**'
|
|
branches:
|
|
- "master"
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: .github/website_link_checker
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Login to Packages Container registry
|
|
uses: docker/login-action@v2
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- run: echo "TODAY=$(date +"%Y.%m.%d")" >> $GITHUB_ENV
|
|
- name: build ci-link-checker:${{env.TODAY}} image
|
|
run: |
|
|
docker build -t ghcr.io/runatlantis/ci-link-checker:${{env.TODAY}} .
|
|
- name: publish ci-link-checker:${{env.TODAY}} image
|
|
run: |
|
|
docker push ghcr.io/runatlantis/ci-link-checker:${{env.TODAY}}
|
|
docker tag ghcr.io/runatlantis/ci-link-checker:${{env.TODAY}} ghcr.io/runatlantis/ci-link-checker:latest
|
|
docker push ghcr.io/runatlantis/ci-link-checker:latest
|