fix (Actions): added tagging to container

This commit is contained in:
darkicewolf50 2024-12-21 15:19:15 -07:00
parent 354b840f24
commit f7ca1d810f

View File

@ -1,7 +1,7 @@
# name of the workflow. # name of the workflow.
# this is optional. # this is optional.
name: PyLint name: Interview Cloud Actions
# events that will trigger this workflow. # events that will trigger this workflow.
# here, we only have "pull_request", so the workflow will run # here, we only have "pull_request", so the workflow will run
@ -62,6 +62,9 @@ jobs:
- name: build container image # build the container - name: build container image # build the container
run: docker compose build run: docker compose build
id: docker-build id: docker-build
- name: tag container image
run: docker tag darkicewolf50/uofcbajacloud:latest darkicewolf50/uofcbajacloud:latest
- name: Upload to Dockerhub - name: Upload to Dockerhub
run: docker push darkicewolf50/uofcbajacloud:latest run: docker push darkicewolf50/uofcbajacloud:latest