Skip to content

fix typo

fix typo #4

name: Build and Release Docker Image
on:
push:
branches:
- main
jobs:
build_and_push:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Check out the repository
uses: actions/checkout@v2
- name: Log in to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
run: |
IMAGE_NAME=ghcr.io/${{ github.repository_owner }}/gazebo:latest
docker build -t $IMAGE_NAME .
docker push $IMAGE_NAME