Merge branch 'main' into renovate/docker-build-push-action-6.x
Unit Tests with docker compose and cargo / unit-test (push) Successful in 2m49s Details
Build image / build (pull_request) Successful in 51m58s Details

This commit is contained in:
bizcochito 2024-12-01 11:22:10 +00:00
commit d786d6a1ca
3 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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