Skip to content

change image name

change image name #2

Workflow file for this run

name: Build & Deploy to Scaleway
on:
workflow_dispatch:
push:
branches:
- feat/add-image-build
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_SECRET_KEY }}
registry: ${{ secrets.SCALEWAY_CONTAINER_REGISTRY_ENDPOINT }}
- name: Build the Docker image
run: docker build . -t ${{ secrets.SCALEWAY_CONTAINER_REGISTRY_ENDPOINT }}/dash:latest
- name: Push the Docker Image
run: docker push ${{ secrets.SCALEWAY_CONTAINER_REGISTRY_ENDPOINT }}/dash:latest