build and test pipelines #2
|
@ -11,7 +11,7 @@ jobs:
|
|||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- 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
|
||||
run: cargo check
|
||||
- name: Run tests
|
||||
|
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
with:
|
||||
# list of Docker images to use as base name for tags
|
||||
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
|
||||
tags: |
|
||||
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
|
||||
|
|
Loading…
Reference in New Issue