Continous Deployment #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Deploy to Scaleway | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Login to Scaleway Container Registry | |
uses: docker/login-action@v3 | |
with: | |
username: nologin | |
password: ${{ secrets.SCALEWAY_API_KEY }} | |
registry: ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }} | |
- name: Build the Docker image | |
run: docker build . -t ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/ae-data-processing | |
- name: Push the Docker Image | |
run: docker push ${{ secrets.CONTAINER_REGISTRY_ENDPOINT }}/ae-data-processing |