diff --git a/.github/workflows/build-api.yml b/.github/workflows/build-api.yml index fa409c7..d5b768c 100644 --- a/.github/workflows/build-api.yml +++ b/.github/workflows/build-api.yml @@ -3,31 +3,27 @@ name: Build API on: push: branches: - - 'main' + - "main" jobs: docker: runs-on: ubuntu-latest steps: - - - name: Checkout + - name: Checkout uses: actions/checkout@v2 - - - name: Set up Docker Buildx + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - + # Builds docker images and pushes them to GHCR - - - name: Login to GitHub Container Registry + - name: Login to GitHub Container Registry uses: docker/login-action@v1 with: registry: ghcr.io username: ${{ secrets.USER }} password: ${{ secrets.TOKEN }} - - - name: Build and push + - name: Build and push uses: docker/build-push-action@v2.7.0 with: context: ./api push: true - tags: ghcr.io/gal/cs3500-api:latest + tags: ghcr.io/timber-team/timber-api:latest diff --git a/.github/workflows/manual.yml b/.github/workflows/build-ui.yml similarity index 68% rename from .github/workflows/manual.yml rename to .github/workflows/build-ui.yml index 982e909..ae44964 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/build-ui.yml @@ -3,31 +3,27 @@ name: Build UI on: push: branches: - - 'main' + - "main" jobs: docker: runs-on: ubuntu-latest steps: - - - name: Checkout + - name: Checkout uses: actions/checkout@v2 - - - name: Set up Docker Buildx + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 # Builds docker images and pushes them to GHCR - - - name: Login to GitHub Container Registry + - name: Login to GitHub Container Registry uses: docker/login-action@v1 with: registry: ghcr.io username: ${{ secrets.USER }} password: ${{ secrets.TOKEN }} - - - name: Build and push + - name: Build and push uses: docker/build-push-action@v2.7.0 with: context: ./ui push: true - tags: ghcr.io/gal/cs3500-ui:latest + tags: ghcr.io/timber-team/timber-ui:latest