Merge branch 'main' into renovate/docker-build-push-action-6.x
This commit is contained in:
commit
d786d6a1ca
|
@ -15,7 +15,7 @@ jobs:
|
||||||
- name: Installing necessary packages
|
- name: Installing necessary packages
|
||||||
run: apk add nodejs git curl bash
|
run: apk add nodejs git curl bash
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Get access token from secret
|
- name: Get access token from secret
|
||||||
run: echo "${{ secrets.MASTODON_SECRET }}" > mastodon-data.toml
|
run: echo "${{ secrets.MASTODON_SECRET }}" > mastodon-data.toml
|
||||||
- name: Run tests on docker
|
- name: Run tests on docker
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
name: Build image
|
name: Build image
|
||||||
on:
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- .gitea/workflows/02_build.yaml
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
|
@ -18,7 +21,7 @@ jobs:
|
||||||
- name: Installing necessary packages
|
- name: Installing necessary packages
|
||||||
run: apk add nodejs git curl bash
|
run: apk add nodejs git curl bash
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
uses: https://github.com/docker/metadata-action@v4
|
uses: https://github.com/docker/metadata-action@v4
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
FROM rust:1.79.0-slim-bullseye AS build
|
FROM rust:1.82.0-slim-bullseye AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ARG APP_NAME=mastodon-image-uploader-bot
|
ARG APP_NAME=mastodon-image-uploader-bot
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue