Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
akdasa committed Jul 28, 2024
1 parent 9fc4fda commit 703fc78
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,24 +73,13 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Retag to latest
uses: koraykoska/[email protected]
with:
registry: ${{ env.REGISTRY }}
name: akdasa-studios/lectorium-gateway
old_tag: ${{ env.VERSION }}-dev
new_tag: ${{ env.VERSION }}-rc
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# - name: Promote Images
# run: |
# for service in gateway database database-bootstrap; do
# docker pull ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}-dev
# docker tag ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}-dev ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}-rc
# docker rmi ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}-dev
# docker push ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}-rc
# done
- name: Promote Images
run: |
for service in gateway database database-bootstrap; do
docker pull ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}-dev
docker tag ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}-dev ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}-rc
docker push ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}-rc
done
tests-e2e:
name: E2E Tests
Expand Down Expand Up @@ -129,7 +118,6 @@ jobs:
docker pull ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}-rc
docker tag ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}-rc ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}
docker tag ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}-rc ghcr.io/akdasa-studios/lectorium-$service:latest
docker rmi ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}-rc
docker push ghcr.io/akdasa-studios/lectorium-$service:${{ env.VERSION }}
docker push ghcr.io/akdasa-studios/lectorium-$service:latest
done

0 comments on commit 703fc78

Please sign in to comment.