mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 00:23:07 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
name: Devcontainer Pre-Build
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 3 * * 0"
|
|
# push:
|
|
# branches:
|
|
# - "master"
|
|
# tags:
|
|
# - "v*.*.*"
|
|
# pull_requests:
|
|
# branches:
|
|
# - "master"
|
|
|
|
concurrency:
|
|
group: "${{ github.workflow }}"
|
|
cancel-in-progress: true
|
|
|
|
|
|
jobs:
|
|
build-and-push:
|
|
permissions:
|
|
packages: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
with:
|
|
persist-credentials: false
|
|
- name: Login to GitHub Container Registry
|
|
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Pre-build dev container image
|
|
uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3.19
|
|
with:
|
|
subFolder: .github
|
|
imageName: ghcr.io/${{ github.repository }}-devcontainer
|
|
cacheFrom: ghcr.io/${{ github.repository }}-devcontainer
|
|
push: always
|