-
Notifications
You must be signed in to change notification settings - Fork 18
34 lines (34 loc) · 969 Bytes
/
update.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: "update"
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"
jobs:
build:
name: Create Release
runs-on: ubuntu-20.04
permissions:
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build & Push
uses: devcontainers/[email protected]
with:
push: always
imageName: ghcr.io/rails-lambda/lamby-cookiecutter-devcontainer
cacheFrom: ghcr.io/rails-lambda/lamby-cookiecutter-devcontainer
runCmd: |
./bin/build
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Auto Update
file_pattern: '!.github/workflows/ci.yml'