publish docker to central.artipie.com
@@ -7,20 +7,25 @@ jobs:
docker-publish:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@master
+ - uses: actions/checkout@v2
- name: Set env
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10}
- - name: Test
- run: |
- echo ${{ env.RELEASE_VERSION }}
- name: Publish Image to Docker Registry
- uses: elgohr/Publish-Docker-Github-Action@master
+ uses: elgohr/Publish-Docker-Github-Action@2.19
with:
name: ${{ secrets.DOCKERHUB_REPO }}
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}
cache: true
tags: "latest,${{ env.RELEASE_VERSION }}"
+ - name: Publish Image to Artipie Registry
+ uses: elgohr/Publish-Docker-Github-Action@2.19
+ with:
+ name: central.artipie.com/artipie/docker
+ username: ${{ secrets.ARTIPIE_USERNAME }}
+ password: ${{ secrets.ARTIPIE_PASSWORD }}
+ cache: true
+ tags: "latest,${{ env.RELEASE_VERSION }}"
run-benchmarks:
runs-on: ubuntu-latest
needs: docker-publish
