fix: order of commands in ci

This commit is contained in:
Karol Sójko
2020-07-08 09:17:50 +02:00
parent 3d84923467
commit 51dfbe5ca2
2 changed files with 8 additions and 6 deletions

View File

@@ -11,6 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Initiate submodules
run: git submodule update --init --force --remote
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
@@ -19,9 +23,6 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest,${{ github.sha }}"
- name: Initiate submodules
run: git submodule update --init --force --remote
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:

View File

@@ -11,6 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Initiate submodules
run: git submodule update --init --force --remote
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
@@ -19,9 +23,6 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "stable,${{ github.sha }}"
- name: Initiate submodules
run: git submodule update --init --force --remote
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with: