Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

ci(docker): fix wrong repository name #2

ci(docker): fix wrong repository name

ci(docker): fix wrong repository name #2

Workflow file for this run

name: Docker
on:
push:
tags: ["v*"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get version for tag
run: |
VERSION=${GITHUB_REF_NAME#v}
echo Version: $VERSION
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
push: true
tags: nashiradeer/hydrogen:${{ env.VERSION }}