build and test pipelines #2
|
@ -11,7 +11,7 @@ jobs:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Get access token from secret
|
- name: Get access token from secret
|
||||||
run: echo -e ${{ secrets.MASTODON_SECRET }} > mastodon-data.toml
|
run: echo -e "${{ secrets.MASTODON_SECRET }}" > mastodon-data.toml
|
||||||
- name: Check code
|
- name: Check code
|
||||||
run: cargo check
|
run: cargo check
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
# list of Docker images to use as base name for tags
|
# list of Docker images to use as base name for tags
|
||||||
images: |
|
images: |
|
||||||
git.fai.st/fedi-image-bot/bot-api
|
git.fai.st/fedi-image-bot/mastodon-image-uploader-bot
|
||||||
# generate Docker tags based on the following events/attributes
|
# generate Docker tags based on the following events/attributes
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
|
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
|
||||||
|
|
Loading…
Reference in New Issue