mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-30 02:41:12 +00:00
Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).
Updates `actions/checkout` from 6.0.1 to 6.0.2
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8e8c483db8...de0fac2e45)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com>
57 lines
1.6 KiB
YAML
57 lines
1.6 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
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build-and-push:
|
|
name: "Build and Push Devcontainer Image"
|
|
permissions:
|
|
packages: write # Needed to push package versions
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
- name: Login to GitHub Container Registry
|
|
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.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
|
|
|
|
|
|
packages-cleanup:
|
|
name: "Docker Package Cleanup"
|
|
uses: ./.github/workflows/packages-cleanup.yml
|
|
# Only run on push, schedule, or release events
|
|
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.repository == 'freqtrade/freqtrade'
|
|
permissions:
|
|
packages: write # Needed to delete package versions
|
|
with:
|
|
package_name: 'freqtrade-devcontainer'
|