Add Docker ARM images support in CI (#114)
This commit is contained in:
@@ -36,11 +36,16 @@ script:
|
||||
fi'
|
||||
|
||||
before_deploy:
|
||||
- mkdir -vp ~/.docker/cli-plugins/
|
||||
- curl --silent -L "https://github.com/docker/buildx/releases/download/v0.8.2/buildx-v0.8.2.linux-amd64" > ~/.docker/cli-plugins/docker-buildx
|
||||
- chmod a+x ~/.docker/cli-plugins/docker-buildx
|
||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
- docker build -t thedaviddelta/lingva-translate .
|
||||
- docker buildx create --use
|
||||
|
||||
deploy:
|
||||
provider: script
|
||||
script: docker push thedaviddelta/lingva-translate
|
||||
script: docker buildx build --push
|
||||
--platform linux/amd64,linux/arm/v7,linux/arm64/v8
|
||||
--tag thedaviddelta/lingva-translate
|
||||
on:
|
||||
branch: main
|
||||
|
||||
@@ -80,7 +80,7 @@ const TranslationArea: FC<Props> = ({ value, onChange, onSubmit, readOnly, audio
|
||||
>
|
||||
<HStack justify="space-between" px={5} h={useBreakpointValue([12, null, 14]) ?? 12} w="0px" flex={1}>
|
||||
<Tooltip label={pronunciation}>
|
||||
<Text aria-label="Pronunciation" opacity={0.75} whiteSpace="nowrap" overflow="hidden" textOverflow="ellipsis">
|
||||
<Text opacity={0.75} whiteSpace="nowrap" overflow="hidden" textOverflow="ellipsis">
|
||||
{pronunciation}
|
||||
</Text>
|
||||
</Tooltip>
|
||||
|
||||
Reference in New Issue
Block a user