add code-server-julia, prevent failed action in master

This commit is contained in:
aptalca 2022-02-11 13:44:08 -05:00
parent 4639ea36e1
commit b5365a20b1
2 changed files with 10 additions and 8 deletions

View File

@ -17,7 +17,7 @@ jobs:
docker build --no-cache -t ${{ github.sha }} .
- name: Tag image
if: ${{ github.ref == format('refs/heads/{0}', env.BRANCH) }}
if: ${{ github.ref == format('refs/heads/{0}', env.BRANCH) }} && ${{ env.ENDPOINT != 'user/endpoint' }}
run: |
docker tag ${{ github.sha }} ${ENDPOINT}
docker tag ${{ github.sha }} ${ENDPOINT}:${{ github.sha }}
@ -25,7 +25,7 @@ jobs:
docker tag ${{ github.sha }} ghcr.io/${ENDPOINT}:${{ github.sha }}
- name: Credential check
if: ${{ github.ref == format('refs/heads/{0}', env.BRANCH) }}
if: ${{ github.ref == format('refs/heads/{0}', env.BRANCH) }} && ${{ env.ENDPOINT != 'user/endpoint' }}
run: |
echo "CR_USER=${{ secrets.CR_USER }}" >> $GITHUB_ENV
echo "CR_PAT=${{ secrets.CR_PAT }}" >> $GITHUB_ENV
@ -39,23 +39,23 @@ jobs:
fi
- name: Login to GitHub Container Registry
if: ${{ github.ref == format('refs/heads/{0}', env.BRANCH) && env.CR_USER && env.CR_PAT }}
if: ${{ github.ref == format('refs/heads/{0}', env.BRANCH) && env.CR_USER && env.CR_PAT }} && ${{ env.ENDPOINT != 'user/endpoint' }}
run: |
echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u ${{ secrets.CR_USER }} --password-stdin
- name: Push tags to GitHub Container Registry
if: ${{ github.ref == format('refs/heads/{0}', env.BRANCH) && env.CR_USER && env.CR_PAT }}
if: ${{ github.ref == format('refs/heads/{0}', env.BRANCH) && env.CR_USER && env.CR_PAT }} && ${{ env.ENDPOINT != 'user/endpoint' }}
run: |
docker push ghcr.io/${ENDPOINT}:${{ github.sha }}
docker push ghcr.io/${ENDPOINT}
- name: Login to DockerHub
if: ${{ github.ref == format('refs/heads/{0}', env.BRANCH) && env.DOCKERUSER && env.DOCKERPASS }}
if: ${{ github.ref == format('refs/heads/{0}', env.BRANCH) && env.DOCKERUSER && env.DOCKERPASS }} && ${{ env.ENDPOINT != 'user/endpoint' }}
run: |
echo ${{ secrets.DOCKERPASS }} | docker login -u ${{ secrets.DOCKERUSER }} --password-stdin
- name: Push tags to DockerHub
if: ${{ github.ref == format('refs/heads/{0}', env.BRANCH) && env.DOCKERUSER && env.DOCKERPASS }}
if: ${{ github.ref == format('refs/heads/{0}', env.BRANCH) && env.DOCKERUSER && env.DOCKERPASS }} && ${{ env.ENDPOINT != 'user/endpoint' }}
run: |
docker push ${ENDPOINT}:${{ github.sha }}
docker push ${ENDPOINT}

View File

@ -4,7 +4,7 @@ mods:
container_mods:
- calibre: https://github.com/linuxserver/docker-calibre-web/tree/calibre
code-server:
mod_count: 21
mod_count: 22
container_mods:
- awscli: https://github.com/linuxserver/docker-mods/tree/code-server-awscli
- docker: https://github.com/linuxserver/docker-mods/tree/code-server-docker
@ -13,6 +13,7 @@ mods:
- flutter: https://github.com/linuxserver/docker-mods/tree/code-server-flutter
- golang: https://github.com/linuxserver/docker-mods/tree/code-server-golang
- java11: https://github.com/linuxserver/docker-mods/tree/code-server-java11
- julia: https://github.com/linuxserver/docker-mods/tree/code-server-julia
- nodejs: https://github.com/linuxserver/docker-mods/tree/code-server-nodejs
- npmglobal: https://github.com/linuxserver/docker-mods/tree/code-server-npmglobal
- php: https://github.com/linuxserver/docker-mods/tree/code-server-php
@ -70,7 +71,7 @@ mods:
- openssh-client: https://github.com/linuxserver/docker-mods/tree/openssh-server-openssh-client
- ssh-tunnel: https://github.com/linuxserver/docker-mods/tree/openssh-server-ssh-tunnel
openvscode-server:
mod_count: 18
mod_count: 19
container_mods:
- awscli: https://github.com/linuxserver/docker-mods/tree/code-server-awscli
- docker: https://github.com/linuxserver/docker-mods/tree/code-server-docker
@ -78,6 +79,7 @@ mods:
- flutter: https://github.com/linuxserver/docker-mods/tree/code-server-flutter
- golang: https://github.com/linuxserver/docker-mods/tree/code-server-golang
- java11: https://github.com/linuxserver/docker-mods/tree/code-server-java11
- julia: https://github.com/linuxserver/docker-mods/tree/code-server-julia
- nodejs: https://github.com/linuxserver/docker-mods/tree/code-server-nodejs
- npmglobal: https://github.com/linuxserver/docker-mods/tree/code-server-npmglobal
- php: https://github.com/linuxserver/docker-mods/tree/code-server-php